Class: Softlayer::Provisioning::Maintenance::Window

Inherits:
Entity
  • Object
show all
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

Class 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

#begin_dateObject

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_weekObject

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_dateObject

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

#idObject

Returns the value of attribute id.



9
10
11
# File 'lib/softlayer/provisioning/maintenance/window.rb', line 9

def id
  @id
end

#location_idObject

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_idObject

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(message)
  request(:add_customer_upgrade_window, Boolean, message)
end

.get_maintenance_classificationsObject



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(message)
  request(:get_maintenance_start_end_time, Softlayer::Provisioning::Maintenance::Window, message)
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(message)
  request(:get_maintenance_window_for_ticket, Array[Softlayer::Provisioning::Maintenance::Window], message)
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(message)
  request(:get_maintenance_window_tickets_by_ticket_id, Array[Softlayer::Provisioning::Maintenance::Ticket], message)
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(message)
  request(:get_maintenance_windows, Array[Softlayer::Provisioning::Maintenance::Window], message)
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(message)
  request(:get_maintence_windows, Array[Softlayer::Provisioning::Maintenance::Window], message)
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(message)
  request(:update_customer_upgrade_window, Boolean, message)
end