Class: Google::Apis::AppsmarketV2::LicenseNotification::Reassignment

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

Returns a new instance of Reassignment.



276
277
278
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 276

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

Instance Attribute Details

#edition_idString

(Deprecated) Corresponds to the JSON property editionId

Returns:

  • (String)


259
260
261
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 259

def edition_id
  @edition_id
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


264
265
266
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 264

def kind
  @kind
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


269
270
271
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 269

def type
  @type
end

#user_idString

The email address of the reassigned user. Corresponds to the JSON property userId

Returns:

  • (String)


274
275
276
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 274

def user_id
  @user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



281
282
283
284
285
286
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 281

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