4
4
#The core API used to integrate with Patch's service
5
5
6
6
The version of the OpenAPI document: v1
7
- Contact: developers @usepatch.com
7
+ Contact: engineering @usepatch.com
8
8
Generated by: https://openapi-generator.tech
9
9
OpenAPI Generator version: 5.2.1
10
10
@@ -102,8 +102,8 @@ def initialize(attributes = {})
102
102
# @return Array for valid properties with the reasons
103
103
def list_invalid_properties
104
104
invalid_properties = Array . new
105
- if !@mass_g . nil? && @mass_g > 2000000000
106
- invalid_properties . push ( 'invalid value for "mass_g", must be smaller than or equal to 2000000000 .' )
105
+ if !@mass_g . nil? && @mass_g > 100000000000
106
+ invalid_properties . push ( 'invalid value for "mass_g", must be smaller than or equal to 100000000000 .' )
107
107
end
108
108
109
109
if !@mass_g . nil? && @mass_g < 0
@@ -120,7 +120,7 @@ def list_invalid_properties
120
120
# Check to see if the all the properties in the model are valid
121
121
# @return true if the model is valid
122
122
def valid?
123
- return false if !@mass_g . nil? && @mass_g > 2000000000
123
+ return false if !@mass_g . nil? && @mass_g > 100000000000
124
124
return false if !@mass_g . nil? && @mass_g < 0
125
125
return false if !@total_price_cents_usd . nil? && @total_price_cents_usd < 1
126
126
true
@@ -129,8 +129,8 @@ def valid?
129
129
# Custom attribute writer method with validation
130
130
# @param [Object] mass_g Value to be assigned
131
131
def mass_g = ( mass_g )
132
- if !mass_g . nil? && mass_g > 2000000000
133
- fail ArgumentError , 'invalid value for "mass_g", must be smaller than or equal to 2000000000 .'
132
+ if !mass_g . nil? && mass_g > 100000000000
133
+ fail ArgumentError , 'invalid value for "mass_g", must be smaller than or equal to 100000000000 .'
134
134
end
135
135
136
136
if !mass_g . nil? && mass_g < 0
0 commit comments