Sha256: 3b87eb1b47e62813eed86283e42f9d1302621dc88bc9145e59679f75c215fad7

Contents?: true

Size: 660 Bytes

Versions: 1

Compression:

Stored size: 660 Bytes

Contents

# frozen_string_literal: true

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

      belongs_to :account
      belongs_to :networkdriver
      has_one :networkdriver
      has_one :account
      has_many :ipaddresses
      has_many :subnets

      attributes :accountId, :created, :data, :description, :id,
                 :kind, :name, :networkDriverId, :removeTime, :removed,
                 :state, :uuid, :transitioning, :transitioningMessage, :transitioningProgress,
                 :dns, :dnsSearch, :metadata, :subnets, :hostPorts,
                 :defaultPolicyAction, :policy
    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/network.rb