Class: Softlayer::Auxiliary::Marketing::Event

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/auxiliary/marketing/event.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Auxiliary_Marketing_Event'

Instance Attribute Summary collapse

Class Method Summary collapse

Instance 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

#create_dateObject

Returns the value of attribute create_date.



6
7
8
# File 'lib/softlayer/auxiliary/marketing/event.rb', line 6

def create_date
  @create_date
end

#enabled_flagObject

Returns the value of attribute enabled_flag.



7
8
9
# File 'lib/softlayer/auxiliary/marketing/event.rb', line 7

def enabled_flag
  @enabled_flag
end

#end_dateObject

Returns the value of attribute end_date.



8
9
10
# File 'lib/softlayer/auxiliary/marketing/event.rb', line 8

def end_date
  @end_date
end

#locationObject

Returns the value of attribute location.



9
10
11
# File 'lib/softlayer/auxiliary/marketing/event.rb', line 9

def location
  @location
end

#modify_dateObject

Returns the value of attribute modify_date.



10
11
12
# File 'lib/softlayer/auxiliary/marketing/event.rb', line 10

def modify_date
  @modify_date
end

#start_dateObject

Returns the value of attribute start_date.



11
12
13
# File 'lib/softlayer/auxiliary/marketing/event.rb', line 11

def start_date
  @start_date
end

#titleObject

Returns the value of attribute title.



12
13
14
# File 'lib/softlayer/auxiliary/marketing/event.rb', line 12

def title
  @title
end

#urlObject

Returns the value of attribute url.



13
14
15
# File 'lib/softlayer/auxiliary/marketing/event.rb', line 13

def url
  @url
end

Class Method Details

.get_marketing_eventsObject



15
16
17
# File 'lib/softlayer/auxiliary/marketing/event.rb', line 15

def self.get_marketing_events
  request(:get_marketing_events, Array[Softlayer::Auxiliary::Marketing::Event])
end

Instance Method Details

#get_objectObject



19
20
21
# File 'lib/softlayer/auxiliary/marketing/event.rb', line 19

def get_object
  request(:get_object, Softlayer::Auxiliary::Marketing::Event)
end