Sha256: 7625840695dc09bd2bd0f30a798f24f490f643828c8e87f2c00b7477fc3bbaf7

Contents?: true

Size: 712 Bytes

Versions: 1

Compression:

Stored size: 712 Bytes

Contents

# Author:: Alessio Rocchi (<alessio.rocchi@staff.aruba.it>)
# © Copyright ArubaCloud.
#
# LICENSE: MIT (http://opensource.org/licenses/MIT)
#

require 'fog/core/model'
require 'fog/arubacloud/error'

module Fog
  module Compute
    class ArubaCloud
      class NetworkAdapter < Fog::Model
        identity :id, :aliases => 'Id'

        attribute :mac_address, :aliases => 'MacAddress', :type => String
        attribute :adapter_type, :aliases => 'NetworkAdapterType', :type => Integer
        attribute :server_id, :aliases => 'ServerId', :type => Integer
        attribute :vlan, :aliases => 'VLan', :type => Integer

        has_many :ip_addresses, :ips, aliases: 'IPAddresses'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fog-arubacloud-0.0.3 lib/fog/arubacloud/models/compute/network_adapter.rb