lib/rancher/api/models/ipaddress.rb in rancher-api-beta-0.8.0.pre.beta vs lib/rancher/api/models/ipaddress.rb in rancher-api-beta-0.8.1
- old
+ new
@@ -4,9 +4,20 @@
module Api
class Ipaddress
include Her::Model
include Helpers::Model
- attributes :name, :state, :address
+ belongs_to :account
+ belongs_to :network
+ has_one :account
+ has_one :network
+ has_many :publicports
+ has_many :hosts
+ has_many :privateports
+
+ attributes :accountId, :address, :created, :data, :description,
+ :id, :kind, :name, :networkId, :removeTime,
+ :removed, :state, :uuid, :transitioning, :transitioningMessage,
+ :transitioningProgress
end
end
end