Class: Google::Apis::AppsmarketV2::Reassignments

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

Constructor Details

#initialize(**args) ⇒ Reassignments

Returns a new instance of Reassignments.



315
316
317
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 315

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

Instance Attribute Details

#edition_idString

(Deprecated) Corresponds to the JSON property editionId

Returns:

  • (String)


298
299
300
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 298

def edition_id
  @edition_id
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


303
304
305
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 303

def kind
  @kind
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


308
309
310
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 308

def type
  @type
end

#user_idString

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

Returns:

  • (String)


313
314
315
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 313

def user_id
  @user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



320
321
322
323
324
325
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 320

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