Class: StackOne::Models::Operations::MessagingDownloadMessagingAttachmentRequest
- Inherits:
-
Object
- Object
- StackOne::Models::Operations::MessagingDownloadMessagingAttachmentRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/operations/messaging_download_messaging_attachment_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(id:, sub_resource_id:, x_account_id:, export_format: nil, format: nil) ⇒ MessagingDownloadMessagingAttachmentRequest
constructor
A new instance of MessagingDownloadMessagingAttachmentRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(id:, sub_resource_id:, x_account_id:, export_format: nil, format: nil) ⇒ MessagingDownloadMessagingAttachmentRequest
Returns a new instance of MessagingDownloadMessagingAttachmentRequest.
27 28 29 30 31 32 33 |
# File 'lib/stack_one/models/operations/messaging_download_messaging_attachment_request.rb', line 27 def initialize(id:, sub_resource_id:, x_account_id:, export_format: nil, format: nil) @id = id @sub_resource_id = sub_resource_id @x_account_id = x_account_id @export_format = export_format @format = format end |
Instance Method Details
#==(other) ⇒ Object
36 37 38 39 40 41 42 43 44 |
# File 'lib/stack_one/models/operations/messaging_download_messaging_attachment_request.rb', line 36 def ==(other) return false unless other.is_a? self.class return false unless @id == other.id return false unless @sub_resource_id == other.sub_resource_id return false unless @x_account_id == other.x_account_id return false unless @export_format == other.export_format return false unless @format == other.format true end |