Class: Google::Apis::ResellerV1::Subscription::TransferInfo

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

Overview

Transfer related information for the subscription.

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

Returns a new instance of TransferInfo.



469
470
471
# File 'generated/google/apis/reseller_v1/classes.rb', line 469

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

Instance Attribute Details

#minimum_transferable_seatsFixnum

Corresponds to the JSON property minimumTransferableSeats

Returns:

  • (Fixnum)


462
463
464
# File 'generated/google/apis/reseller_v1/classes.rb', line 462

def minimum_transferable_seats
  @minimum_transferable_seats
end

#transferability_expiration_timeString

Time when transfer token or intent to transfer will expire. Corresponds to the JSON property transferabilityExpirationTime

Returns:

  • (String)


467
468
469
# File 'generated/google/apis/reseller_v1/classes.rb', line 467

def transferability_expiration_time
  @transferability_expiration_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



474
475
476
477
# File 'generated/google/apis/reseller_v1/classes.rb', line 474

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