Class: Google::Apis::CoordinateV1::CustomField
- Inherits:
-
Object
- Object
- Google::Apis::CoordinateV1::CustomField
- Defined in:
- generated/google/apis/coordinate_v1/classes.rb,
generated/google/apis/coordinate_v1/representations.rb,
generated/google/apis/coordinate_v1/representations.rb
Overview
Custom field.
Instance Attribute Summary collapse
-
#custom_field_id ⇒ String
Custom field id.
-
#kind ⇒ String
Identifies this object as a custom field.
-
#value ⇒ String
Custom field value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomField
constructor
A new instance of CustomField.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ CustomField
Returns a new instance of CustomField.
44 45 46 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 44 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_field_id ⇒ String
Custom field id.
Corresponds to the JSON property customFieldId
32 33 34 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 32 def custom_field_id @custom_field_id end |
#kind ⇒ String
Identifies this object as a custom field.
Corresponds to the JSON property kind
37 38 39 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 37 def kind @kind end |
#value ⇒ String
Custom field value.
Corresponds to the JSON property value
42 43 44 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 42 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
49 50 51 52 53 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 49 def update!(**args) @custom_field_id = args[:custom_field_id] if args.key?(:custom_field_id) @kind = args[:kind] if args.key?(:kind) @value = args[:value] if args.key?(:value) end |