Class: Google::Apis::AndroidpublisherV2::MonthDay
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV2::MonthDay
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidpublisher_v2/classes.rb,
generated/google/apis/androidpublisher_v2/representations.rb,
generated/google/apis/androidpublisher_v2/representations.rb
Instance Attribute Summary collapse
-
#day ⇒ Fixnum
Day of a month, value in [1, 31] range.
-
#month ⇒ Fixnum
Month of a year.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MonthDay
constructor
A new instance of MonthDay.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ MonthDay
Returns a new instance of MonthDay
931 932 933 |
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 931 def initialize(**args) update!(**args) end |
Instance Attribute Details
#day ⇒ Fixnum
Day of a month, value in [1, 31] range. Valid range depends on the specified
month.
Corresponds to the JSON property day
924 925 926 |
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 924 def day @day end |
#month ⇒ Fixnum
Month of a year. e.g. 1 = JAN, 2 = FEB etc.
Corresponds to the JSON property month
929 930 931 |
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 929 def month @month end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
936 937 938 939 |
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 936 def update!(**args) @day = args[:day] if args.key?(:day) @month = args[:month] if args.key?(:month) end |