Class: Yade::Domain::Rest::Model::Host

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Model, ActiveModel::Serializers::JSON, ActiveModel::Validations
Defined in:
lib/yade/domain/rest/model/host.rb

Overview

Host

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#datacenterObject

Returns the value of attribute datacenter.



15
16
17
# File 'lib/yade/domain/rest/model/host.rb', line 15

def datacenter
  @datacenter
end

#domainIdObject

Returns the value of attribute domainId.



15
16
17
# File 'lib/yade/domain/rest/model/host.rb', line 15

def domainId
  @domainId
end

#environmentTypeObject

Returns the value of attribute environmentType.



15
16
17
# File 'lib/yade/domain/rest/model/host.rb', line 15

def environmentType
  @environmentType
end

#hostNameObject

Returns the value of attribute hostName.



15
16
17
# File 'lib/yade/domain/rest/model/host.rb', line 15

def hostName
  @hostName
end

#idObject

Returns the value of attribute id.



15
16
17
# File 'lib/yade/domain/rest/model/host.rb', line 15

def id
  @id
end

#ipObject

Returns the value of attribute ip.



15
16
17
# File 'lib/yade/domain/rest/model/host.rb', line 15

def ip
  @ip
end

#isMasterObject

Returns the value of attribute isMaster.



15
16
17
# File 'lib/yade/domain/rest/model/host.rb', line 15

def isMaster
  @isMaster
end

#nameObject

Returns the value of attribute name.



15
16
17
# File 'lib/yade/domain/rest/model/host.rb', line 15

def name
  @name
end

#osTypeObject

Returns the value of attribute osType.



15
16
17
# File 'lib/yade/domain/rest/model/host.rb', line 15

def osType
  @osType
end

#roleIdObject

Returns the value of attribute roleId.



15
16
17
# File 'lib/yade/domain/rest/model/host.rb', line 15

def roleId
  @roleId
end

#sshPortObject

Returns the value of attribute sshPort.



15
16
17
# File 'lib/yade/domain/rest/model/host.rb', line 15

def sshPort
  @sshPort
end

#usernameObject

Returns the value of attribute username.



15
16
17
# File 'lib/yade/domain/rest/model/host.rb', line 15

def username
  @username
end

#zoneObject

Returns the value of attribute zone.



15
16
17
# File 'lib/yade/domain/rest/model/host.rb', line 15

def zone
  @zone
end

Instance Method Details

#attributesObject



21
22
23
# File 'lib/yade/domain/rest/model/host.rb', line 21

def attributes
  instance_values
end