Class: Google::Apis::AndroidpublisherV3::ModRange

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

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

Returns a new instance of ModRange.



1145
1146
1147
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1145

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

Instance Attribute Details

#endFixnum

Corresponds to the JSON property end

Returns:

  • (Fixnum)


1138
1139
1140
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1138

def end
  @end
end

#startFixnum

Corresponds to the JSON property start

Returns:

  • (Fixnum)


1143
1144
1145
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1143

def start
  @start
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1150
1151
1152
1153
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1150

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