class Apcera::UnlinkParameterObject

Attributes

from_job[RW]
port[RW]
to_job[RW]

Public Class Methods

attribute_map() click to toggle source

attribute mapping from ruby-style variable name to JSON key

# File lib/apcera/models/unlink_parameter_object.rb, line 6
def self.attribute_map
  {
    
    # FQN of the job being linked from.
    :'from_job' => :'from_job',
    
    # The port on the target job to link to.
    :'port' => :'port',
    
    # FQN of the target job.
    :'to_job' => :'to_job'
    
  }
end
new(attributes = {}) click to toggle source
# File lib/apcera/models/unlink_parameter_object.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[:'from_job']
    self.from_job = attributes[:'from_job']
  end
  
  if attributes[:'port']
    self.port = attributes[:'port']
  end
  
  if attributes[:'to_job']
    self.to_job = attributes[:'to_job']
  end
  
end
swagger_types() click to toggle source

attribute type

# File lib/apcera/models/unlink_parameter_object.rb, line 22
def self.swagger_types
  {
    :'from_job' => :'String',
    :'port' => :'Integer',
    :'to_job' => :'String'
    
  }
end