Class: Google::Apis::AppsmarketV2::LicenseNotification::Expiry

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/appsmarket_v2/classes.rb,
generated/google/apis/appsmarket_v2/representations.rb,
generated/google/apis/appsmarket_v2/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) ⇒ Expiry

Returns a new instance of Expiry



210
211
212
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 210

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

Instance Attribute Details

#edition_idString

(Deprecated) Corresponds to the JSON property editionId

Returns:

  • (String)


203
204
205
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 203

def edition_id
  @edition_id
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


208
209
210
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 208

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



215
216
217
218
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 215

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