Class: Google::Apis::ResellerV1::Subscription::TransferInfo
- Inherits:
-
Object
- Object
- Google::Apis::ResellerV1::Subscription::TransferInfo
- 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
-
#minimum_transferable_seats ⇒ Fixnum
Corresponds to the JSON property
minimumTransferableSeats
. -
#transferability_expiration_time ⇒ String
Time when transfer token or intent to transfer will expire.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TransferInfo
constructor
A new instance of TransferInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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_seats ⇒ Fixnum
Corresponds to the JSON property minimumTransferableSeats
462 463 464 |
# File 'generated/google/apis/reseller_v1/classes.rb', line 462 def minimum_transferable_seats @minimum_transferable_seats end |
#transferability_expiration_time ⇒ String
Time when transfer token or intent to transfer will expire.
Corresponds to the JSON property transferabilityExpirationTime
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 |