class Apcera::Info

Attributes

cluster_domain[RW]
name[RW]
url[RW]

Public Class Methods

attribute_map() click to toggle source

attribute mapping from ruby-style variable name to JSON key

# File lib/apcera/models/info.rb, line 6
def self.attribute_map
  {
    
    # Cluster domain.
    :'cluster_domain' => :'cluster_domain',
    
    # API server name. Currently contains \"Continuum\".
    :'name' => :'name',
    
    # URL of Apcera API Server (for example, api.try.apcera.net).
    :'url' => :'url'
    
  }
end
new(attributes = {}) click to toggle source
# File lib/apcera/models/info.rb, line 31
def initialize(attributes = {})
  return if !attributes.is_a?(Hash) || attributes.empty?

  # convert string to symbol for hash key
  attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}

  
  if attributes[:'cluster_domain']
    self.cluster_domain = attributes[:'cluster_domain']
  end
  
  if attributes[:'name']
    self.name = attributes[:'name']
  end
  
  if attributes[:'url']
    self.url = attributes[:'url']
  end
  
end
swagger_types() click to toggle source

attribute type

# File lib/apcera/models/info.rb, line 22
def self.swagger_types
  {
    :'cluster_domain' => :'String',
    :'name' => :'String',
    :'url' => :'String'
    
  }
end