Class: Google::Apis::CoordinateV1::ListTeamResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/coordinate_v1/classes.rb,
generated/google/apis/coordinate_v1/representations.rb,
generated/google/apis/coordinate_v1/representations.rb

Overview

Response from a List Teams request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListTeamResponse

Returns a new instance of ListTeamResponse.



575
576
577
# File 'generated/google/apis/coordinate_v1/classes.rb', line 575

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#itemsArray<Google::Apis::CoordinateV1::Team>

Teams in the collection. Corresponds to the JSON property items



568
569
570
# File 'generated/google/apis/coordinate_v1/classes.rb', line 568

def items
  @items
end

#kindString

Identifies this object as a list of teams. Corresponds to the JSON property kind

Returns:

  • (String)


573
574
575
# File 'generated/google/apis/coordinate_v1/classes.rb', line 573

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



580
581
582
583
# File 'generated/google/apis/coordinate_v1/classes.rb', line 580

def update!(**args)
  @items = args[:items] if args.key?(:items)
  @kind = args[:kind] if args.key?(:kind)
end