Sha256: 778c0a86e54d4719fe20a6366c4d4179323a5f9373fc05da4c5575cce5ae24a7

Contents?: true

Size: 465 Bytes

Versions: 67

Compression:

Stored size: 465 Bytes

Contents

module Types
  class HostCollection < BaseObject
    description "A collection of hosts"
    model_class ::Katello::HostCollection

    global_id_field :id
    timestamps
    field :name, String
    field :description, String
    field :max_hosts, Integer
    field :unlimited_hosts, Boolean
    has_many :hosts, Types::Host

    def self.graphql_definition
      super.tap { |type| type.instance_variable_set(:@name, 'Katello::HostCollection') }
    end
  end
end

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
katello-4.14.2 app/graphql/types/host_collection.rb
katello-4.15.0 app/graphql/types/host_collection.rb
katello-4.15.0.rc2 app/graphql/types/host_collection.rb
katello-4.15.0.rc1 app/graphql/types/host_collection.rb
katello-4.14.1 app/graphql/types/host_collection.rb
katello-4.14.0 app/graphql/types/host_collection.rb
katello-4.14.0.rc3 app/graphql/types/host_collection.rb
katello-4.14.0.rc2 app/graphql/types/host_collection.rb
katello-4.14.0.rc1.1 app/graphql/types/host_collection.rb
katello-4.14.0.rc1 app/graphql/types/host_collection.rb
katello-4.13.1 app/graphql/types/host_collection.rb
katello-4.13.0 app/graphql/types/host_collection.rb
katello-4.12.1 app/graphql/types/host_collection.rb
katello-4.13.0.rc1 app/graphql/types/host_collection.rb
katello-4.12.0 app/graphql/types/host_collection.rb
katello-4.12.0.rc3 app/graphql/types/host_collection.rb
katello-4.12.0.rc2 app/graphql/types/host_collection.rb
katello-4.12.0.rc1 app/graphql/types/host_collection.rb
katello-4.11.1 app/graphql/types/host_collection.rb
katello-4.11.0 app/graphql/types/host_collection.rb