class Apcera::VirtualNetworkEndpoint
Attributes
end_point_interface[RW]
fqn[RW]
network_fqn[RW]
uuid[RW]
Public Class Methods
attribute_map()
click to toggle source
attribute mapping from ruby-style variable name to JSON key
# File lib/apcera/models/virtual_network_endpoint.rb, line 6 def self.attribute_map { # A list of interfaces associated with the job. :'end_point_interface' => :'end_point_interface', # Fully-qualified name of the job the endpoint is attached to. :'fqn' => :'fqn', # Fully-qualified name of the network that the endpoint belongs to. :'network_fqn' => :'network_fqn', # The UUID of the network endpoint. :'uuid' => :'uuid' } end
new(attributes = {})
click to toggle source
# File lib/apcera/models/virtual_network_endpoint.rb, line 35 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[:'end_point_interface'] if (value = attributes[:'end_point_interface']).is_a?(Array) self.end_point_interface = value end end if attributes[:'fqn'] self.fqn = attributes[:'fqn'] end if attributes[:'network_fqn'] self.network_fqn = attributes[:'network_fqn'] end if attributes[:'uuid'] self.uuid = attributes[:'uuid'] end end
swagger_types()
click to toggle source
attribute type
# File lib/apcera/models/virtual_network_endpoint.rb, line 25 def self.swagger_types { :'end_point_interface' => :'Array<VirtualNetworkEndpointInterface>', :'fqn' => :'String', :'network_fqn' => :'String', :'uuid' => :'String' } end