Class: Google::Apis::CoordinateV1::ListCustomFieldDefResponse

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

Collection of custom field definitions for a team.

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) ⇒ ListCustomFieldDefResponse

Returns a new instance of ListCustomFieldDefResponse.



128
129
130
# File 'generated/google/apis/coordinate_v1/classes.rb', line 128

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

Instance Attribute Details

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

Collection of custom field definitions in a team. Corresponds to the JSON property items



121
122
123
# File 'generated/google/apis/coordinate_v1/classes.rb', line 121

def items
  @items
end

#kindString

Identifies this object as a collection of custom field definitions in a team. Corresponds to the JSON property kind

Returns:

  • (String)


126
127
128
# File 'generated/google/apis/coordinate_v1/classes.rb', line 126

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



133
134
135
136
# File 'generated/google/apis/coordinate_v1/classes.rb', line 133

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