Class: Rafflesia::JoinProfileRequest

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/rafflesia/registry/join_profile_request.rb

Constant Summary collapse

HASH_ATTRS =
{
  from_database: :from_database,
  from_release: :from_release,
  key_variant: :key_variant,
  relationship_id: :relationship_id,
  resource_group_id: :resource_group_id,
  to_database: :to_database,
  to_release: :to_release
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ JoinProfileRequest

Returns a new instance of JoinProfileRequest.



27
28
29
30
31
32
33
34
35
36
37
# File 'lib/rafflesia/registry/join_profile_request.rb', line 27

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @from_database = hash[:from_database]
  @from_release = hash[:from_release]
  @key_variant = hash[:key_variant]
  @relationship_id = hash[:relationship_id]
  @resource_group_id = hash[:resource_group_id]
  @to_database = hash[:to_database]
  @to_release = hash[:to_release]
end

Instance Attribute Details

#from_databaseObject

Returns the value of attribute from_database.



18
19
20
# File 'lib/rafflesia/registry/join_profile_request.rb', line 18

def from_database
  @from_database
end

#from_releaseObject

Returns the value of attribute from_release.



18
19
20
# File 'lib/rafflesia/registry/join_profile_request.rb', line 18

def from_release
  @from_release
end

#key_variantObject

Returns the value of attribute key_variant.



18
19
20
# File 'lib/rafflesia/registry/join_profile_request.rb', line 18

def key_variant
  @key_variant
end

#relationship_idObject

Returns the value of attribute relationship_id.



18
19
20
# File 'lib/rafflesia/registry/join_profile_request.rb', line 18

def relationship_id
  @relationship_id
end

#resource_group_idObject

Returns the value of attribute resource_group_id.



18
19
20
# File 'lib/rafflesia/registry/join_profile_request.rb', line 18

def resource_group_id
  @resource_group_id
end

#to_databaseObject

Returns the value of attribute to_database.



18
19
20
# File 'lib/rafflesia/registry/join_profile_request.rb', line 18

def to_database
  @to_database
end

#to_releaseObject

Returns the value of attribute to_release.



18
19
20
# File 'lib/rafflesia/registry/join_profile_request.rb', line 18

def to_release
  @to_release
end