Class: Softlayer::Network::Storage::Schedule
- Defined in:
- lib/softlayer/network/storage/schedule.rb,
lib/softlayer/network/storage/schedule/type.rb,
lib/softlayer/network/storage/schedule/property.rb,
lib/softlayer/network/storage/schedule/property/type.rb
Defined Under Namespace
Classes: Property, Representer, Type
Constant Summary collapse
- SERVICE =
'SoftLayer_Network_Storage_Schedule'
Instance Attribute Summary collapse
-
#active ⇒ Object
Returns the value of attribute active.
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#day_of_month ⇒ Object
Returns the value of attribute day_of_month.
-
#day_of_week ⇒ Object
Returns the value of attribute day_of_week.
-
#event_count ⇒ Object
Returns the value of attribute event_count.
-
#events ⇒ Object
Returns the value of attribute events.
-
#hour ⇒ Object
Returns the value of attribute hour.
-
#id ⇒ Object
Returns the value of attribute id.
-
#minute ⇒ Object
Returns the value of attribute minute.
-
#modify_date ⇒ Object
Returns the value of attribute modify_date.
-
#month_of_year ⇒ Object
Returns the value of attribute month_of_year.
-
#name ⇒ Object
Returns the value of attribute name.
-
#partnership ⇒ Object
Returns the value of attribute partnership.
-
#partnership_id ⇒ Object
Returns the value of attribute partnership_id.
-
#properties ⇒ Object
Returns the value of attribute properties.
-
#property_count ⇒ Object
Returns the value of attribute property_count.
-
#retention_count ⇒ Object
Returns the value of attribute retention_count.
-
#snapshot_count ⇒ Object
Returns the value of attribute snapshot_count.
-
#snapshots ⇒ Object
Returns the value of attribute snapshots.
-
#type ⇒ Object
Returns the value of attribute type.
-
#type_id ⇒ Object
Returns the value of attribute type_id.
-
#volume ⇒ Object
Returns the value of attribute volume.
-
#volume_id ⇒ Object
Returns the value of attribute volume_id.
Class Method Summary collapse
-
.create_object(message) ⇒ Object
template_object.
Instance Method Summary collapse
- #delete_object ⇒ Object
-
#edit_object(message) ⇒ Object
template_object.
- #get_day_of_month ⇒ Object
- #get_day_of_week ⇒ Object
- #get_events ⇒ Object
- #get_hour ⇒ Object
- #get_minute ⇒ Object
- #get_month_of_year ⇒ Object
- #get_object ⇒ Object
- #get_partnership ⇒ Object
- #get_properties ⇒ Object
- #get_retention_count ⇒ Object
- #get_snapshots ⇒ Object
- #get_type ⇒ Object
- #get_volume ⇒ Object
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
#active ⇒ Object
Returns the value of attribute active.
8 9 10 |
# File 'lib/softlayer/network/storage/schedule.rb', line 8 def active @active end |
#create_date ⇒ Object
Returns the value of attribute create_date.
9 10 11 |
# File 'lib/softlayer/network/storage/schedule.rb', line 9 def create_date @create_date end |
#day_of_month ⇒ Object
Returns the value of attribute day_of_month.
19 20 21 |
# File 'lib/softlayer/network/storage/schedule.rb', line 19 def day_of_month @day_of_month end |
#day_of_week ⇒ Object
Returns the value of attribute day_of_week.
20 21 22 |
# File 'lib/softlayer/network/storage/schedule.rb', line 20 def day_of_week @day_of_week end |
#event_count ⇒ Object
Returns the value of attribute event_count.
16 17 18 |
# File 'lib/softlayer/network/storage/schedule.rb', line 16 def event_count @event_count end |
#events ⇒ Object
Returns the value of attribute events.
21 22 23 |
# File 'lib/softlayer/network/storage/schedule.rb', line 21 def events @events end |
#hour ⇒ Object
Returns the value of attribute hour.
22 23 24 |
# File 'lib/softlayer/network/storage/schedule.rb', line 22 def hour @hour end |
#id ⇒ Object
Returns the value of attribute id.
10 11 12 |
# File 'lib/softlayer/network/storage/schedule.rb', line 10 def id @id end |
#minute ⇒ Object
Returns the value of attribute minute.
23 24 25 |
# File 'lib/softlayer/network/storage/schedule.rb', line 23 def minute @minute end |
#modify_date ⇒ Object
Returns the value of attribute modify_date.
11 12 13 |
# File 'lib/softlayer/network/storage/schedule.rb', line 11 def modify_date @modify_date end |
#month_of_year ⇒ Object
Returns the value of attribute month_of_year.
24 25 26 |
# File 'lib/softlayer/network/storage/schedule.rb', line 24 def month_of_year @month_of_year end |
#name ⇒ Object
Returns the value of attribute name.
12 13 14 |
# File 'lib/softlayer/network/storage/schedule.rb', line 12 def name @name end |
#partnership ⇒ Object
Returns the value of attribute partnership.
25 26 27 |
# File 'lib/softlayer/network/storage/schedule.rb', line 25 def partnership @partnership end |
#partnership_id ⇒ Object
Returns the value of attribute partnership_id.
13 14 15 |
# File 'lib/softlayer/network/storage/schedule.rb', line 13 def partnership_id @partnership_id end |
#properties ⇒ Object
Returns the value of attribute properties.
26 27 28 |
# File 'lib/softlayer/network/storage/schedule.rb', line 26 def properties @properties end |
#property_count ⇒ Object
Returns the value of attribute property_count.
17 18 19 |
# File 'lib/softlayer/network/storage/schedule.rb', line 17 def property_count @property_count end |
#retention_count ⇒ Object
Returns the value of attribute retention_count.
27 28 29 |
# File 'lib/softlayer/network/storage/schedule.rb', line 27 def retention_count @retention_count end |
#snapshot_count ⇒ Object
Returns the value of attribute snapshot_count.
18 19 20 |
# File 'lib/softlayer/network/storage/schedule.rb', line 18 def snapshot_count @snapshot_count end |
#snapshots ⇒ Object
Returns the value of attribute snapshots.
28 29 30 |
# File 'lib/softlayer/network/storage/schedule.rb', line 28 def snapshots @snapshots end |
#type ⇒ Object
Returns the value of attribute type.
29 30 31 |
# File 'lib/softlayer/network/storage/schedule.rb', line 29 def type @type end |
#type_id ⇒ Object
Returns the value of attribute type_id.
14 15 16 |
# File 'lib/softlayer/network/storage/schedule.rb', line 14 def type_id @type_id end |
#volume ⇒ Object
Returns the value of attribute volume.
30 31 32 |
# File 'lib/softlayer/network/storage/schedule.rb', line 30 def volume @volume end |
#volume_id ⇒ Object
Returns the value of attribute volume_id.
15 16 17 |
# File 'lib/softlayer/network/storage/schedule.rb', line 15 def volume_id @volume_id end |
Class Method Details
.create_object(message) ⇒ Object
template_object
33 34 35 |
# File 'lib/softlayer/network/storage/schedule.rb', line 33 def self.create_object() request(:create_object, Softlayer::Network::Storage::Schedule, ) end |
Instance Method Details
#delete_object ⇒ Object
37 38 39 |
# File 'lib/softlayer/network/storage/schedule.rb', line 37 def delete_object request(:delete_object, Boolean) end |
#edit_object(message) ⇒ Object
template_object
42 43 44 |
# File 'lib/softlayer/network/storage/schedule.rb', line 42 def edit_object() request(:edit_object, Boolean, ) end |
#get_day_of_month ⇒ Object
46 47 48 |
# File 'lib/softlayer/network/storage/schedule.rb', line 46 def get_day_of_month request(:get_day_of_month, String) end |
#get_day_of_week ⇒ Object
50 51 52 |
# File 'lib/softlayer/network/storage/schedule.rb', line 50 def get_day_of_week request(:get_day_of_week, String) end |
#get_events ⇒ Object
54 55 56 |
# File 'lib/softlayer/network/storage/schedule.rb', line 54 def get_events request(:get_events, Array[Softlayer::Network::Storage::Event]) end |
#get_hour ⇒ Object
58 59 60 |
# File 'lib/softlayer/network/storage/schedule.rb', line 58 def get_hour request(:get_hour, String) end |
#get_minute ⇒ Object
62 63 64 |
# File 'lib/softlayer/network/storage/schedule.rb', line 62 def get_minute request(:get_minute, String) end |
#get_month_of_year ⇒ Object
66 67 68 |
# File 'lib/softlayer/network/storage/schedule.rb', line 66 def get_month_of_year request(:get_month_of_year, String) end |
#get_object ⇒ Object
70 71 72 |
# File 'lib/softlayer/network/storage/schedule.rb', line 70 def get_object request(:get_object, Softlayer::Network::Storage::Schedule) end |
#get_partnership ⇒ Object
74 75 76 |
# File 'lib/softlayer/network/storage/schedule.rb', line 74 def get_partnership request(:get_partnership, Softlayer::Network::Storage::Partnership) end |
#get_properties ⇒ Object
78 79 80 |
# File 'lib/softlayer/network/storage/schedule.rb', line 78 def get_properties request(:get_properties, Array[Softlayer::Network::Storage::Schedule::Property]) end |
#get_retention_count ⇒ Object
82 83 84 |
# File 'lib/softlayer/network/storage/schedule.rb', line 82 def get_retention_count request(:get_retention_count, String) end |
#get_snapshots ⇒ Object
86 87 88 |
# File 'lib/softlayer/network/storage/schedule.rb', line 86 def get_snapshots request(:get_snapshots, Array[Softlayer::Network::Storage]) end |
#get_type ⇒ Object
90 91 92 |
# File 'lib/softlayer/network/storage/schedule.rb', line 90 def get_type request(:get_type, Softlayer::Network::Storage::Schedule::Type) end |
#get_volume ⇒ Object
94 95 96 |
# File 'lib/softlayer/network/storage/schedule.rb', line 94 def get_volume request(:get_volume, Softlayer::Network::Storage) end |