lib/rancher/api/models/registrycredential.rb in rancher-api-beta-0.8.0.pre.beta vs lib/rancher/api/models/registrycredential.rb in rancher-api-beta-0.8.1
- old
+ new
@@ -4,9 +4,19 @@
module Api
class Registrycredential
include Her::Model
include Helpers::Model
- belongs_to :project
+ belongs_to :account
+ belongs_to :registry
+ has_one :registry
+ has_one :account
+ has_many :images
+ has_many :instances
+
+ attributes :accountId, :created, :data, :description, :id,
+ :kind, :name, :publicValue, :registryId, :removeTime,
+ :removed, :secretValue, :state, :transitioning, :transitioningMessage,
+ :transitioningProgress, :uuid
end
end
end