Class: Softlayer::Ticket::Attachment::File
- Defined in:
- lib/softlayer/ticket/attachment/file.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Ticket_Attachment_File'
Instance Attribute Summary collapse
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#file_name ⇒ Object
Returns the value of attribute file_name.
-
#file_size ⇒ Object
Returns the value of attribute file_size.
-
#id ⇒ Object
Returns the value of attribute id.
-
#modify_date ⇒ Object
Returns the value of attribute modify_date.
-
#ticket ⇒ Object
Returns the value of attribute ticket.
-
#ticket_id ⇒ Object
Returns the value of attribute ticket_id.
-
#update ⇒ Object
Returns the value of attribute update.
-
#update_id ⇒ Object
Returns the value of attribute update_id.
-
#uploader_id ⇒ Object
Returns the value of attribute uploader_id.
-
#uploader_type ⇒ Object
Returns the value of attribute uploader_type.
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Model
all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer
Methods included from Model::Operations
extended, #filter, included, #limit, #mask, #request_headers
Instance Attribute Details
#create_date ⇒ Object
Returns the value of attribute create_date.
6 7 8 |
# File 'lib/softlayer/ticket/attachment/file.rb', line 6 def create_date @create_date end |
#file_name ⇒ Object
Returns the value of attribute file_name.
7 8 9 |
# File 'lib/softlayer/ticket/attachment/file.rb', line 7 def file_name @file_name end |
#file_size ⇒ Object
Returns the value of attribute file_size.
8 9 10 |
# File 'lib/softlayer/ticket/attachment/file.rb', line 8 def file_size @file_size end |
#id ⇒ Object
Returns the value of attribute id.
9 10 11 |
# File 'lib/softlayer/ticket/attachment/file.rb', line 9 def id @id end |
#modify_date ⇒ Object
Returns the value of attribute modify_date.
10 11 12 |
# File 'lib/softlayer/ticket/attachment/file.rb', line 10 def modify_date @modify_date end |
#ticket ⇒ Object
Returns the value of attribute ticket.
15 16 17 |
# File 'lib/softlayer/ticket/attachment/file.rb', line 15 def ticket @ticket end |
#ticket_id ⇒ Object
Returns the value of attribute ticket_id.
11 12 13 |
# File 'lib/softlayer/ticket/attachment/file.rb', line 11 def ticket_id @ticket_id end |
#update ⇒ Object
Returns the value of attribute update.
16 17 18 |
# File 'lib/softlayer/ticket/attachment/file.rb', line 16 def update @update end |
#update_id ⇒ Object
Returns the value of attribute update_id.
12 13 14 |
# File 'lib/softlayer/ticket/attachment/file.rb', line 12 def update_id @update_id end |
#uploader_id ⇒ Object
Returns the value of attribute uploader_id.
13 14 15 |
# File 'lib/softlayer/ticket/attachment/file.rb', line 13 def uploader_id @uploader_id end |
#uploader_type ⇒ Object
Returns the value of attribute uploader_type.
14 15 16 |
# File 'lib/softlayer/ticket/attachment/file.rb', line 14 def uploader_type @uploader_type end |
Class Method Details
.get_extension_whitelist ⇒ Object
18 19 20 |
# File 'lib/softlayer/ticket/attachment/file.rb', line 18 def self.get_extension_whitelist request(:get_extension_whitelist, Array[String]) end |
Instance Method Details
#get_object ⇒ Object
22 23 24 |
# File 'lib/softlayer/ticket/attachment/file.rb', line 22 def get_object request(:get_object, Softlayer::Ticket::Attachment::File) end |
#get_ticket ⇒ Object
26 27 28 |
# File 'lib/softlayer/ticket/attachment/file.rb', line 26 def get_ticket request(:get_ticket, Softlayer::Ticket) end |
#get_update ⇒ Object
30 31 32 |
# File 'lib/softlayer/ticket/attachment/file.rb', line 30 def get_update request(:get_update, Softlayer::Ticket::Update) end |