Class: MarioEvent

Inherits:
Object
  • Object
show all
Defined in:
lib/apollo_commons_ruby/MarioEvent.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(configuration_json, view_group_definition, view_group_component, topic, event_name, request_body) ⇒ MarioEvent

Returns a new instance of MarioEvent.



22
23
24
25
26
27
28
29
30
# File 'lib/apollo_commons_ruby/MarioEvent.rb', line 22

def initialize(configuration_json, view_group_definition, view_group_component, topic, event_name, request_body)
    @tenantId = configuration_json["tenantId"]
    @projectId = configuration_json["projectId"]
    @viewGroupDefinition = view_group_definition
    @viewGroupComponent = view_group_component
    @topic = topic
    @eventName = event_name
    @requestBody = request_body
end

Instance Attribute Details

#eventNameObject (readonly)

Returns the value of attribute eventName.



19
20
21
# File 'lib/apollo_commons_ruby/MarioEvent.rb', line 19

def eventName
  @eventName
end

#projectIdObject (readonly)

Returns the value of attribute projectId.



15
16
17
# File 'lib/apollo_commons_ruby/MarioEvent.rb', line 15

def projectId
  @projectId
end

#requestBodyObject (readonly)

Returns the value of attribute requestBody.



20
21
22
# File 'lib/apollo_commons_ruby/MarioEvent.rb', line 20

def requestBody
  @requestBody
end

#tenantIdObject (readonly)

Returns the value of attribute tenantId.



14
15
16
# File 'lib/apollo_commons_ruby/MarioEvent.rb', line 14

def tenantId
  @tenantId
end

#topicObject (readonly)

Returns the value of attribute topic.



18
19
20
# File 'lib/apollo_commons_ruby/MarioEvent.rb', line 18

def topic
  @topic
end

#viewGroupComponentObject (readonly)

Returns the value of attribute viewGroupComponent.



17
18
19
# File 'lib/apollo_commons_ruby/MarioEvent.rb', line 17

def viewGroupComponent
  @viewGroupComponent
end

#viewGroupDefinitionObject (readonly)

Returns the value of attribute viewGroupDefinition.



16
17
18
# File 'lib/apollo_commons_ruby/MarioEvent.rb', line 16

def viewGroupDefinition
  @viewGroupDefinition
end