Class: Google::Apis::CalendarV3::HabitInstanceData
- Inherits:
-
Object
- Object
- Google::Apis::CalendarV3::HabitInstanceData
- Defined in:
- generated/google/apis/calendar_v3/classes.rb,
generated/google/apis/calendar_v3/representations.rb,
generated/google/apis/calendar_v3/representations.rb
Instance Attribute Summary collapse
-
#status ⇒ String
Corresponds to the JSON property
status
. -
#status_inferred ⇒ Boolean
(also: #status_inferred?)
Corresponds to the JSON property
statusInferred
. -
#type ⇒ String
Corresponds to the JSON property
type
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HabitInstanceData
constructor
A new instance of HabitInstanceData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ HabitInstanceData
Returns a new instance of HabitInstanceData
1743 1744 1745 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1743 def initialize(**args) update!(**args) end |
Instance Attribute Details
#status ⇒ String
Corresponds to the JSON property status
1730 1731 1732 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1730 def status @status end |
#status_inferred ⇒ Boolean Also known as: status_inferred?
Corresponds to the JSON property statusInferred
1735 1736 1737 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1735 def status_inferred @status_inferred end |
#type ⇒ String
Corresponds to the JSON property type
1741 1742 1743 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1741 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1748 1749 1750 1751 1752 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1748 def update!(**args) @status = args[:status] if args.key?(:status) @status_inferred = args[:status_inferred] if args.key?(:status_inferred) @type = args[:type] if args.key?(:type) end |