Class: Softlayer::Provisioning::Maintenance::Window
- Defined in:
- lib/softlayer/provisioning/maintenance/window.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Provisioning_Maintenance_Window'
Instance Attribute Summary collapse
-
#begin_date ⇒ Object
Returns the value of attribute begin_date.
-
#day_of_week ⇒ Object
Returns the value of attribute day_of_week.
-
#end_date ⇒ Object
Returns the value of attribute end_date.
-
#id ⇒ Object
Returns the value of attribute id.
-
#location_id ⇒ Object
Returns the value of attribute location_id.
-
#portal_tz_id ⇒ Object
Returns the value of attribute portal_tz_id.
Class Method Summary collapse
-
.add_customer_upgrade_window(message) ⇒ Object
customer_upgrade_window.
- .get_maintenance_classifications ⇒ Object
-
.get_maintenance_start_end_time(message) ⇒ Object
ticket_id.
-
.get_maintenance_window_for_ticket(message) ⇒ Object
maintenance_window_id.
-
.get_maintenance_window_tickets_by_ticket_id(message) ⇒ Object
ticket_id.
-
.get_maintenance_windows(message) ⇒ Object
begin_date end_date location_id slots_needed.
-
.get_maintence_windows(message) ⇒ Object
begin_date end_date location_id slots_needed.
-
.update_customer_upgrade_window(message) ⇒ Object
maintenance_start_time new_maintenance_window_id ticket_id.
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
#begin_date ⇒ Object
Returns the value of attribute begin_date.
6 7 8 |
# File 'lib/softlayer/provisioning/maintenance/window.rb', line 6 def begin_date @begin_date end |
#day_of_week ⇒ Object
Returns the value of attribute day_of_week.
7 8 9 |
# File 'lib/softlayer/provisioning/maintenance/window.rb', line 7 def day_of_week @day_of_week end |
#end_date ⇒ Object
Returns the value of attribute end_date.
8 9 10 |
# File 'lib/softlayer/provisioning/maintenance/window.rb', line 8 def end_date @end_date end |
#id ⇒ Object
Returns the value of attribute id.
9 10 11 |
# File 'lib/softlayer/provisioning/maintenance/window.rb', line 9 def id @id end |
#location_id ⇒ Object
Returns the value of attribute location_id.
10 11 12 |
# File 'lib/softlayer/provisioning/maintenance/window.rb', line 10 def location_id @location_id end |
#portal_tz_id ⇒ Object
Returns the value of attribute portal_tz_id.
11 12 13 |
# File 'lib/softlayer/provisioning/maintenance/window.rb', line 11 def portal_tz_id @portal_tz_id end |
Class Method Details
.add_customer_upgrade_window(message) ⇒ Object
customer_upgrade_window
14 15 16 |
# File 'lib/softlayer/provisioning/maintenance/window.rb', line 14 def self.add_customer_upgrade_window() request(:add_customer_upgrade_window, Boolean, ) end |
.get_maintenance_classifications ⇒ Object
18 19 20 |
# File 'lib/softlayer/provisioning/maintenance/window.rb', line 18 def self.get_maintenance_classifications request(:get_maintenance_classifications, Array[Softlayer::Provisioning::Maintenance::Classification]) end |
.get_maintenance_start_end_time(message) ⇒ Object
ticket_id
23 24 25 |
# File 'lib/softlayer/provisioning/maintenance/window.rb', line 23 def self.get_maintenance_start_end_time() request(:get_maintenance_start_end_time, Softlayer::Provisioning::Maintenance::Window, ) end |
.get_maintenance_window_for_ticket(message) ⇒ Object
maintenance_window_id
28 29 30 |
# File 'lib/softlayer/provisioning/maintenance/window.rb', line 28 def self.get_maintenance_window_for_ticket() request(:get_maintenance_window_for_ticket, Array[Softlayer::Provisioning::Maintenance::Window], ) end |
.get_maintenance_window_tickets_by_ticket_id(message) ⇒ Object
ticket_id
33 34 35 |
# File 'lib/softlayer/provisioning/maintenance/window.rb', line 33 def self.get_maintenance_window_tickets_by_ticket_id() request(:get_maintenance_window_tickets_by_ticket_id, Array[Softlayer::Provisioning::Maintenance::Ticket], ) end |
.get_maintenance_windows(message) ⇒ Object
begin_date end_date location_id slots_needed
41 42 43 |
# File 'lib/softlayer/provisioning/maintenance/window.rb', line 41 def self.get_maintenance_windows() request(:get_maintenance_windows, Array[Softlayer::Provisioning::Maintenance::Window], ) end |
.get_maintence_windows(message) ⇒ Object
begin_date end_date location_id slots_needed
49 50 51 |
# File 'lib/softlayer/provisioning/maintenance/window.rb', line 49 def self.get_maintence_windows() request(:get_maintence_windows, Array[Softlayer::Provisioning::Maintenance::Window], ) end |
.update_customer_upgrade_window(message) ⇒ Object
maintenance_start_time new_maintenance_window_id ticket_id
56 57 58 |
# File 'lib/softlayer/provisioning/maintenance/window.rb', line 56 def self.update_customer_upgrade_window() request(:update_customer_upgrade_window, Boolean, ) end |