Class: Google::Apis::YoutubePartnerV1::StateCompleted
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::StateCompleted
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_partner_v1/classes.rb,
generated/google/apis/youtube_partner_v1/representations.rb,
generated/google/apis/youtube_partner_v1/representations.rb
Instance Attribute Summary collapse
-
#state ⇒ String
The state that the order entered.
-
#time_completed ⇒ Fixnum
The time that the state transition occurred.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StateCompleted
constructor
A new instance of StateCompleted.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ StateCompleted
Returns a new instance of StateCompleted
3630 3631 3632 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3630 def initialize(**args) update!(**args) end |
Instance Attribute Details
#state ⇒ String
The state that the order entered.
Corresponds to the JSON property state
3623 3624 3625 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3623 def state @state end |
#time_completed ⇒ Fixnum
The time that the state transition occurred.
Corresponds to the JSON property timeCompleted
3628 3629 3630 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3628 def time_completed @time_completed end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3635 3636 3637 3638 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3635 def update!(**args) @state = args[:state] if args.key?(:state) @time_completed = args[:time_completed] if args.key?(:time_completed) end |