Skip to content

Commit

Permalink
Merge pull request #71 from XeroAPI/batch_payment_length
Browse files Browse the repository at this point in the history
Regen to fix batch payment length
  • Loading branch information
SerKnight authored Sep 18, 2020
2 parents 5676f3e + b1a6f80 commit 91d39db
Show file tree
Hide file tree
Showing 153 changed files with 155 additions and 185 deletions.
2 changes: 1 addition & 1 deletion lib/xero-ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/api/accounting_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/api/asset_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#This is the Xero Assets API
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/api/project_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#This is the Xero Projects API
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/api_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/api_error.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
17 changes: 1 addition & 16 deletions lib/xero-ruby/models/accounting/account.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down Expand Up @@ -290,10 +290,6 @@ def initialize(attributes = {})
# @return Array for valid properties with the reasons
def list_invalid_properties
invalid_properties = Array.new
if !@code.nil? && @code.to_s.length > 10
invalid_properties.push('invalid value for "code", the character length must be smaller than or equal to 10.')
end

if !@name.nil? && @name.to_s.length > 150
invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 150.')
end
Expand All @@ -304,7 +300,6 @@ def list_invalid_properties
# Check to see if the all the properties in the model are valid
# @return true if the model is valid
def valid?
return false if !@code.nil? && @code.to_s.length > 10
return false if !@name.nil? && @name.to_s.length > 150
status_validator = EnumAttributeValidator.new('String', ["ACTIVE", "ARCHIVED", "DELETED"])
return false unless status_validator.valid?(@status)
Expand All @@ -317,16 +312,6 @@ def valid?
true
end

# Custom attribute writer method with validation
# @param [Object] code Value to be assigned
def code=(code)
if !code.nil? && code.to_s.length > 10
fail ArgumentError, 'invalid value for "code", the character length must be smaller than or equal to 10.'
end

@code = code
end

# Custom attribute writer method with validation
# @param [Object] name Value to be assigned
def name=(name)
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/models/accounting/account_type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/models/accounting/accounts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/models/accounting/accounts_payable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/models/accounting/accounts_receivable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/models/accounting/address.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/models/accounting/allocation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/models/accounting/allocations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/models/accounting/attachment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/models/accounting/attachments.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/models/accounting/balances.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/models/accounting/bank_transaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/models/accounting/bank_transactions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/models/accounting/bank_transfer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/models/accounting/bank_transfers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
17 changes: 1 addition & 16 deletions lib/xero-ruby/models/accounting/batch_payment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down Expand Up @@ -233,10 +233,6 @@ def list_invalid_properties
invalid_properties.push('invalid value for "code", the character length must be smaller than or equal to 12.')
end

if !@details.nil? && @details.to_s.length > 18
invalid_properties.push('invalid value for "details", the character length must be smaller than or equal to 18.')
end

if !@narrative.nil? && @narrative.to_s.length > 18
invalid_properties.push('invalid value for "narrative", the character length must be smaller than or equal to 18.')
end
Expand All @@ -250,7 +246,6 @@ def valid?
return false if !@reference.nil? && @reference.to_s.length > 12
return false if !@particulars.nil? && @particulars.to_s.length > 12
return false if !@code.nil? && @code.to_s.length > 12
return false if !@details.nil? && @details.to_s.length > 18
return false if !@narrative.nil? && @narrative.to_s.length > 18
type_validator = EnumAttributeValidator.new('String', ["PAYBATCH", "RECBATCH"])
return false unless type_validator.valid?(@type)
Expand Down Expand Up @@ -289,16 +284,6 @@ def code=(code)
@code = code
end

# Custom attribute writer method with validation
# @param [Object] details Value to be assigned
def details=(details)
if !details.nil? && details.to_s.length > 18
fail ArgumentError, 'invalid value for "details", the character length must be smaller than or equal to 18.'
end

@details = details
end

# Custom attribute writer method with validation
# @param [Object] narrative Value to be assigned
def narrative=(narrative)
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/models/accounting/batch_payment_details.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/models/accounting/batch_payments.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/models/accounting/bill.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/models/accounting/branding_theme.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/models/accounting/branding_themes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/models/accounting/cis_org_setting.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/models/accounting/cis_setting.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/models/accounting/cis_settings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/models/accounting/contact.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/models/accounting/contact_group.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/models/accounting/contact_groups.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/models/accounting/contact_person.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
2 changes: 1 addition & 1 deletion lib/xero-ruby/models/accounting/contacts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: 2.2.14
The version of the OpenAPI document: 2.3.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
Expand Down
Loading

0 comments on commit 91d39db

Please sign in to comment.