Class: Google::Apis::GanV1beta1::Links

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Links

Returns a new instance of Links.



1213
1214
1215
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 1213

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

Instance Attribute Details

#itemsArray<Google::Apis::GanV1beta1::Link>

The links. Corresponds to the JSON property items

Returns:



1201
1202
1203
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 1201

def items
  @items
end

#kindString

The kind for a page of links. Corresponds to the JSON property kind

Returns:

  • (String)


1206
1207
1208
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 1206

def kind
  @kind
end

#next_page_tokenString

The next page token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1211
1212
1213
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 1211

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1218
1219
1220
1221
1222
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 1218

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