Sha256: 77d4207edac279e5912cff91466f8f761e3f2beff08a081a65edc6dc187b9b55

Contents?: true

Size: 733 Bytes

Versions: 1

Compression:

Stored size: 733 Bytes

Contents

# frozen_string_literal: true

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

      belongs_to :account
      belongs_to :storagedriver
      has_one :storagedriver
      has_one :account
      has_many :images
      has_many :credentials
      has_many :hosts
      has_many :volumes

      attributes :accountId, :created, :data, :description, :driverName,
                 :externalId, :id, :kind, :name, :removeTime,
                 :removed, :state, :storageDriverId, :uuid, :volumeAccessMode,
                 :transitioning, :transitioningMessage, :transitioningProgress, :hostIds, :blockDevicePath,
                 :volumeCapabilities, :volumeIds
    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/storagepool.rb