Sha256: ccbd7b172c94702e382b9fa530c561b2831efc91ae1928937a60c2abc987c925

Contents?: true

Size: 875 Bytes

Versions: 1

Compression:

Stored size: 875 Bytes

Contents

# frozen_string_literal: true

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

      include Rancher::Api::Helpers::Machine
      belongs_to :account
      belongs_to :hosttemplate
      has_one :account
      has_many :hosts

      attributes :accountId, :created, :data, :description, :driver,
                 :externalId, :id, :kind, :name, :removeTime,
                 :removed, :state, :uuid, :transitioning, :transitioningMessage,
                 :transitioningProgress, :amazonec2Config, :authCertificateAuthority, :authKey, :azureConfig,
                 :digitaloceanConfig, :dockerVersion, :engineEnv, :engineInsecureRegistry, :engineInstallUrl,
                 :engineLabel, :engineOpt, :engineRegistryMirror, :engineStorageDriver, :hostTemplateId,
                 :labels, :packetConfig
    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/machine.rb