Class: BotFramework::AttachmentData

Inherits:
Base
  • Object
show all
Defined in:
lib/bot_framework/models/attachment_data.rb

Overview

Attachment data

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from Base

#==, #_deserialize, #_to_hash, #as_json, attr_accessor, attribute_map, #attributes, #attributes_hash, #build_from_hash, #compact_attributes_hash, #eql?, #hash, #initialize, #list_invalid_properties, #to_body, #to_hash, #to_json, #to_s, #valid?

Constructor Details

This class inherits a constructor from BotFramework::Base

Instance Attribute Details

#nameObject

Name of the attachment



8
9
10
# File 'lib/bot_framework/models/attachment_data.rb', line 8

def name
  @name
end

#original_base64Object

original content



11
12
13
# File 'lib/bot_framework/models/attachment_data.rb', line 11

def original_base64
  @original_base64
end

#thumbnail_base64Object

Thumbnail



14
15
16
# File 'lib/bot_framework/models/attachment_data.rb', line 14

def thumbnail_base64
  @thumbnail_base64
end

#typeObject

content type of the attachmnet



5
6
7
# File 'lib/bot_framework/models/attachment_data.rb', line 5

def type
  @type
end

Class Method Details

.swagger_typesObject

Attribute type mapping.



17
18
19
20
21
22
23
24
# File 'lib/bot_framework/models/attachment_data.rb', line 17

def self.swagger_types
  {
    type: :String,
    name: :String,
    original_base64: :String,
    thumbnail_base64: :String
  }
end