Class: Softlayer::Network::Media::Transcode::Account
- Defined in:
- lib/softlayer/network/media/transcode/account.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Network_Media_Transcode_Account'
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#id ⇒ Object
Returns the value of attribute id.
-
#modify_date ⇒ Object
Returns the value of attribute modify_date.
-
#transcode_job_count ⇒ Object
Returns the value of attribute transcode_job_count.
-
#transcode_jobs ⇒ Object
Returns the value of attribute transcode_jobs.
Class Method Summary collapse
Instance Method Summary collapse
- #create_transcode_job(new_job = nil) ⇒ Object
- #get_account ⇒ Object
- #get_directory_information(directory_name = nil, extension_filter = nil) ⇒ Object
- #get_file_detail(source = nil) ⇒ Object
- #get_ftp_attributes ⇒ Object
- #get_object ⇒ Object
- #get_preset_detail(guid = nil) ⇒ Object
- #get_presets ⇒ Object
- #get_transcode_jobs ⇒ Object
Methods inherited from Model
all, all_request_for, create, find, #init_headers, parse, request, #request, service_name, #to_hash
Methods included from Model::Operations
extended, #filter, included, #limit, #mask, #request_headers
Instance Attribute Details
#account ⇒ Object
Returns the value of attribute account.
12 13 14 |
# File 'lib/softlayer/network/media/transcode/account.rb', line 12 def account @account end |
#account_id ⇒ Object
Returns the value of attribute account_id.
7 8 9 |
# File 'lib/softlayer/network/media/transcode/account.rb', line 7 def account_id @account_id end |
#create_date ⇒ Object
Returns the value of attribute create_date.
8 9 10 |
# File 'lib/softlayer/network/media/transcode/account.rb', line 8 def create_date @create_date end |
#id ⇒ Object
Returns the value of attribute id.
9 10 11 |
# File 'lib/softlayer/network/media/transcode/account.rb', line 9 def id @id end |
#modify_date ⇒ Object
Returns the value of attribute modify_date.
10 11 12 |
# File 'lib/softlayer/network/media/transcode/account.rb', line 10 def modify_date @modify_date end |
#transcode_job_count ⇒ Object
Returns the value of attribute transcode_job_count.
11 12 13 |
# File 'lib/softlayer/network/media/transcode/account.rb', line 11 def transcode_job_count @transcode_job_count end |
#transcode_jobs ⇒ Object
Returns the value of attribute transcode_jobs.
13 14 15 |
# File 'lib/softlayer/network/media/transcode/account.rb', line 13 def transcode_jobs @transcode_jobs end |
Class Method Details
.create_transcode_account ⇒ Object
15 16 17 |
# File 'lib/softlayer/network/media/transcode/account.rb', line 15 def self.create_transcode_account request(:create_transcode_account, Boolean) end |
Instance Method Details
#create_transcode_job(new_job = nil) ⇒ Object
19 20 21 22 |
# File 'lib/softlayer/network/media/transcode/account.rb', line 19 def create_transcode_job(new_job = nil) = {new_job: new_job} request(:create_transcode_job, Boolean, ) end |
#get_account ⇒ Object
24 25 26 |
# File 'lib/softlayer/network/media/transcode/account.rb', line 24 def get_account request(:get_account, Softlayer::Account) end |
#get_directory_information(directory_name = nil, extension_filter = nil) ⇒ Object
28 29 30 31 |
# File 'lib/softlayer/network/media/transcode/account.rb', line 28 def get_directory_information(directory_name = nil, extension_filter = nil) = {directory_name: directory_name, extension_filter: extension_filter} request(:get_directory_information, Array[Softlayer::Container::Network::Directory::Listing], ) end |
#get_file_detail(source = nil) ⇒ Object
33 34 35 36 |
# File 'lib/softlayer/network/media/transcode/account.rb', line 33 def get_file_detail(source = nil) = {source: source} request(:get_file_detail, Softlayer::Container::Network::Media::Information, ) end |
#get_ftp_attributes ⇒ Object
38 39 40 |
# File 'lib/softlayer/network/media/transcode/account.rb', line 38 def get_ftp_attributes request(:get_ftp_attributes, Softlayer::Container::Network::Authentication::Data) end |
#get_object ⇒ Object
42 43 44 |
# File 'lib/softlayer/network/media/transcode/account.rb', line 42 def get_object request(:get_object, Softlayer::Network::Media::Transcode::Account) end |
#get_preset_detail(guid = nil) ⇒ Object
46 47 48 49 |
# File 'lib/softlayer/network/media/transcode/account.rb', line 46 def get_preset_detail(guid = nil) = {guid: guid} request(:get_preset_detail, Array[Softlayer::Container::Network::Media::Transcode::Preset::Element], ) end |