Class: Icalia::Event::Deserializer::StandInReplacement

Inherits:
Object
  • Object
show all
Defined in:
lib/icalia-sdk-event-core/serialization/deserializer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(model:, association:, stand_in:, index: nil) ⇒ StandInReplacement

Returns a new instance of StandInReplacement.



12
13
14
15
16
17
# File 'lib/icalia-sdk-event-core/serialization/deserializer.rb', line 12

def initialize(model:, association:, stand_in:, index: nil)
  @model = model
  @association = association
  @stand_in = stand_in
  @index = index
end

Instance Attribute Details

#associationObject (readonly)

Returns the value of attribute association.



10
11
12
# File 'lib/icalia-sdk-event-core/serialization/deserializer.rb', line 10

def association
  @association
end

#indexObject (readonly)

Returns the value of attribute index.



10
11
12
# File 'lib/icalia-sdk-event-core/serialization/deserializer.rb', line 10

def index
  @index
end

#modelObject (readonly)

Returns the value of attribute model.



10
11
12
# File 'lib/icalia-sdk-event-core/serialization/deserializer.rb', line 10

def model
  @model
end

#stand_inObject (readonly)

Returns the value of attribute stand_in.



10
11
12
# File 'lib/icalia-sdk-event-core/serialization/deserializer.rb', line 10

def stand_in
  @stand_in
end