Class: PlatformSdk::IdMapper::Models::Domain

Inherits:
Object
  • Object
show all
Defined in:
lib/platform_sdk/id_mapper/models/domain.rb

Overview

Domain object returned by IdMapper

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ Domain

Returns a new instance of Domain.



10
11
12
13
14
# File 'lib/platform_sdk/id_mapper/models/domain.rb', line 10

def initialize(attributes = {})
  attributes.each do |key, value|
    instance_variable_set("@#{key}", value)
  end
end

Instance Attribute Details

#idObject

Returns the value of attribute id.



8
9
10
# File 'lib/platform_sdk/id_mapper/models/domain.rb', line 8

def id
  @id
end

#is_disabledObject

Returns the value of attribute is_disabled.



8
9
10
# File 'lib/platform_sdk/id_mapper/models/domain.rb', line 8

def is_disabled
  @is_disabled
end

#keyObject

Returns the value of attribute key.



8
9
10
# File 'lib/platform_sdk/id_mapper/models/domain.rb', line 8

def key
  @key
end

#nameObject

Returns the value of attribute name.



8
9
10
# File 'lib/platform_sdk/id_mapper/models/domain.rb', line 8

def name
  @name
end

#partnerObject

Returns the value of attribute partner.



8
9
10
# File 'lib/platform_sdk/id_mapper/models/domain.rb', line 8

def partner
  @partner
end

#secretObject

Returns the value of attribute secret.



8
9
10
# File 'lib/platform_sdk/id_mapper/models/domain.rb', line 8

def secret
  @secret
end

#tokenObject

Returns the value of attribute token.



8
9
10
# File 'lib/platform_sdk/id_mapper/models/domain.rb', line 8

def token
  @token
end