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.
-
#replica_snapshot_count ⇒ Object
Returns the value of attribute replica_snapshot_count.
-
#replica_snapshots ⇒ Object
Returns the value of attribute replica_snapshots.
-
#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_replica_snapshots ⇒ 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.
20 21 22 |
# File 'lib/softlayer/network/storage/schedule.rb', line 20 def day_of_month @day_of_month end |
#day_of_week ⇒ Object
Returns the value of attribute day_of_week.
21 22 23 |
# File 'lib/softlayer/network/storage/schedule.rb', line 21 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.
22 23 24 |
# File 'lib/softlayer/network/storage/schedule.rb', line 22 def events @events end |
#hour ⇒ Object
Returns the value of attribute hour.
23 24 25 |
# File 'lib/softlayer/network/storage/schedule.rb', line 23 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.
24 25 26 |
# File 'lib/softlayer/network/storage/schedule.rb', line 24 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.
25 26 27 |
# File 'lib/softlayer/network/storage/schedule.rb', line 25 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.
26 27 28 |
# File 'lib/softlayer/network/storage/schedule.rb', line 26 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.
27 28 29 |
# File 'lib/softlayer/network/storage/schedule.rb', line 27 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 |
#replica_snapshot_count ⇒ Object
Returns the value of attribute replica_snapshot_count.
18 19 20 |
# File 'lib/softlayer/network/storage/schedule.rb', line 18 def replica_snapshot_count @replica_snapshot_count end |
#replica_snapshots ⇒ Object
Returns the value of attribute replica_snapshots.
28 29 30 |
# File 'lib/softlayer/network/storage/schedule.rb', line 28 def replica_snapshots @replica_snapshots end |
#retention_count ⇒ Object
Returns the value of attribute retention_count.
29 30 31 |
# File 'lib/softlayer/network/storage/schedule.rb', line 29 def retention_count @retention_count end |
#snapshot_count ⇒ Object
Returns the value of attribute snapshot_count.
19 20 21 |
# File 'lib/softlayer/network/storage/schedule.rb', line 19 def snapshot_count @snapshot_count end |
#snapshots ⇒ Object
Returns the value of attribute snapshots.
30 31 32 |
# File 'lib/softlayer/network/storage/schedule.rb', line 30 def snapshots @snapshots end |
#type ⇒ Object
Returns the value of attribute type.
31 32 33 |
# File 'lib/softlayer/network/storage/schedule.rb', line 31 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.
32 33 34 |
# File 'lib/softlayer/network/storage/schedule.rb', line 32 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
Instance Method Details
#delete_object ⇒ Object
39 40 41 |
# File 'lib/softlayer/network/storage/schedule.rb', line 39 def delete_object request(:delete_object, Boolean) end |
#edit_object(message) ⇒ Object
template_object
44 45 46 |
# File 'lib/softlayer/network/storage/schedule.rb', line 44 def edit_object() request(:edit_object, Boolean, ) end |
#get_day_of_month ⇒ Object
48 49 50 |
# File 'lib/softlayer/network/storage/schedule.rb', line 48 def get_day_of_month request(:get_day_of_month, String) end |
#get_day_of_week ⇒ Object
52 53 54 |
# File 'lib/softlayer/network/storage/schedule.rb', line 52 def get_day_of_week request(:get_day_of_week, String) end |
#get_events ⇒ Object
56 57 58 |
# File 'lib/softlayer/network/storage/schedule.rb', line 56 def get_events request(:get_events, Array[Softlayer::Network::Storage::Event]) end |
#get_hour ⇒ Object
60 61 62 |
# File 'lib/softlayer/network/storage/schedule.rb', line 60 def get_hour request(:get_hour, String) end |
#get_minute ⇒ Object
64 65 66 |
# File 'lib/softlayer/network/storage/schedule.rb', line 64 def get_minute request(:get_minute, String) end |
#get_month_of_year ⇒ Object
68 69 70 |
# File 'lib/softlayer/network/storage/schedule.rb', line 68 def get_month_of_year request(:get_month_of_year, String) end |
#get_object ⇒ Object
72 73 74 |
# File 'lib/softlayer/network/storage/schedule.rb', line 72 def get_object request(:get_object, Softlayer::Network::Storage::Schedule) end |
#get_partnership ⇒ Object
76 77 78 |
# File 'lib/softlayer/network/storage/schedule.rb', line 76 def get_partnership request(:get_partnership, Softlayer::Network::Storage::Partnership) end |
#get_properties ⇒ Object
80 81 82 |
# File 'lib/softlayer/network/storage/schedule.rb', line 80 def get_properties request(:get_properties, Array[Softlayer::Network::Storage::Schedule::Property]) end |
#get_replica_snapshots ⇒ Object
84 85 86 |
# File 'lib/softlayer/network/storage/schedule.rb', line 84 def get_replica_snapshots request(:get_replica_snapshots, Array[Softlayer::Network::Storage]) end |
#get_retention_count ⇒ Object
88 89 90 |
# File 'lib/softlayer/network/storage/schedule.rb', line 88 def get_retention_count request(:get_retention_count, String) end |
#get_snapshots ⇒ Object
92 93 94 |
# File 'lib/softlayer/network/storage/schedule.rb', line 92 def get_snapshots request(:get_snapshots, Array[Softlayer::Network::Storage]) end |