class Apcera::UnbindParameterObject

Attributes

force[RW]
job[RW]
service[RW]

Public Class Methods

attribute_map() click to toggle source

attribute mapping from ruby-style variable name to JSON key

# File lib/apcera/models/unbind_parameter_object.rb, line 6
def self.attribute_map
  {
    
    # If `true`, forces the binding to be removed and ignores errors from the backing service. Can be useful if the service is no longer available or is experiencing failures.
    :'force' => :'force',
    
    # Fully-qualified name of the job to unbind from the service specified by the `service` parameter.
    :'job' => :'job',
    
    # Fully-qualified name of the service to unbind from the job specified by the `job` parameter.
    :'service' => :'service'
    
  }
end
new(attributes = {}) click to toggle source
# File lib/apcera/models/unbind_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[:'force']
    self.force = attributes[:'force']
  end
  
  if attributes[:'job']
    self.job = attributes[:'job']
  end
  
  if attributes[:'service']
    self.service = attributes[:'service']
  end
  
end
swagger_types() click to toggle source

attribute type

# File lib/apcera/models/unbind_parameter_object.rb, line 22
def self.swagger_types
  {
    :'force' => :'BOOLEAN',
    :'job' => :'String',
    :'service' => :'String'
    
  }
end