Sha256: 16491592f837820792f1cb9f349d429b7e5f481016452369ad11250ed198b046

Contents?: true

Size: 925 Bytes

Versions: 1

Compression:

Stored size: 925 Bytes

Contents

# frozen_string_literal: true

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

      include Rancher::Api::Helpers::Instance
      belongs_to :account
      belongs_to :host
      has_one :account
      has_many :credentials
      has_many :instances
      has_many :hosts
      has_many :volumes
      has_many :mounts
      has_many :serviceevents
      has_many :serviceexposemaps
      has_many :services
      has_many :ports
      has_many :instancelinks
      has_many :healthcheckinstancehostmaps
      has_many :targetinstancelinks
      has_many :instancelabels
      has_many :servicelogs

      attributes :accountId, :created, :data, :description, :externalId,
                 :id, :kind, :name, :removeTime, :removed,
                 :state, :uuid, :transitioning, :transitioningMessage, :transitioningProgress,
                 :hostId
    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/instance.rb