Sha256: fa3b8acaea6e923131fcb8de1bc3c3a067934882bf92ae868e3cae074123dedb

Contents?: true

Size: 733 Bytes

Versions: 1

Compression:

Stored size: 733 Bytes

Contents

# frozen_string_literal: true

module Rancher
  module Api
    class Port
      include Her::Model
      include Helpers::Model

      belongs_to :account
      belongs_to :instance
      belongs_to :privateipaddress
      belongs_to :publicipaddress
      has_one :privateipaddress
      has_one :publicipaddress
      has_one :instance
      has_one :account

      attributes :accountId, :created, :data, :description, :id,
                 :instanceId, :kind, :name, :privateIpAddressId, :privatePort,
                 :protocol, :publicIpAddressId, :publicPort, :removeTime, :removed,
                 :state, :uuid, :transitioning, :transitioningMessage, :transitioningProgress,
                 :bindAddress
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rancher-api-beta-0.8.1 lib/rancher/api/models/port.rb