Sha256: b51012a0f9ebbd083fb0c36e472c6203134fcb55980ec9cb9bacc7a9528cfb35

Contents?: true

Size: 983 Bytes

Versions: 4

Compression:

Stored size: 983 Bytes

Contents

require 'fog/compute/gridscale/models/storage'

module Fog
  module Compute
    class Gridscale
      class Interface < Fog::Model
        identity :object_uuid

        attribute :account_uuid
        attribute :change_time
        attribute :create_time
        attribute :delete_block
        attribute :l2security
        attribute :labels
        attribute :location_country
        attribute :location_iata
        attribute :location_name
        attribute :location_uuid
        attribute :name
        attribute :network_type
        attribute :object_uuid
        attribute :public_net
        attribute :relations
        attribute :status
        attribute :ipaddr_uuid
        attribute :network_uuid
        attribute :mac
        attribute :bootable
        attribute :server_uuid
        attribute :ipv4_uuid
        attribute :ipv6_uuid

        def to_s
          :name
        end

        def type
          :network_type
        end

      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fog-gridscale-0.1.5 lib/fog/compute/gridscale/models/interface.rb
fog-gridscale-0.1.4 lib/fog/compute/gridscale/models/interface.rb
fog-gridscale-0.1.3 lib/fog/compute/gridscale/models/interface.rb
fog-gridscale-0.1.2 lib/fog/compute/gridscale/models/interface.rb