lib/rancher/api/models/service.rb in rancher-api-beta-0.8.0.pre.beta vs lib/rancher/api/models/service.rb in rancher-api-beta-0.8.1

- old
+ new

@@ -1,13 +1,32 @@ # frozen_string_literal: true module Rancher module Api class Service - include ::Her::Model + include Her::Model include Helpers::Model - belongs_to :project + belongs_to :account + belongs_to :stack + has_one :stack + has_one :account + has_many :consumedbyservices has_many :instances + has_many :storagedrivers + has_many :consumedservices + has_many :configitemstatuses + has_many :serviceexposemaps + has_many :networkdrivers + has_many :servicelogs + + attributes :accountId, :createIndex, :created, :data, :description, + :externalId, :healthState, :id, :kind, :name, + :removeTime, :removed, :selectorContainer, :selectorLink, :stackId, + :state, :system, :uuid, :vip, :transitioning, + :transitioningMessage, :transitioningProgress, :scale, :currentScale, :scalePolicy, + :launchConfig, :upgrade, :secondaryLaunchConfigs, :metadata, :fqdn, + :publicEndpoints, :retainIp, :assignServiceIpAddress, :startOnCreate, :linkedServices, + :instanceIds, :lbConfig end end end