hubspot-api-client 17.0.0.pre.beta.2 → 17.0.0.pre.beta.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- data/Gemfile.lock +1 -1
- data/lib/hubspot/codegen/crm/associations/schema/api/types_api.rb +97 -0
- data/lib/hubspot/codegen/crm/associations/schema/api_client.rb +412 -0
- data/lib/hubspot/codegen/crm/associations/schema/api_error.rb +63 -0
- data/lib/hubspot/codegen/crm/associations/schema/configuration.rb +296 -0
- data/lib/hubspot/codegen/crm/associations/schema/models/associated_id.rb +244 -0
- data/lib/hubspot/codegen/crm/associations/schema/models/batch_input_public_association.rb +232 -0
- data/lib/hubspot/codegen/crm/associations/schema/models/batch_input_public_object_id.rb +232 -0
- data/lib/hubspot/codegen/crm/associations/schema/models/batch_response_public_association.rb +328 -0
- data/lib/hubspot/codegen/crm/associations/schema/models/batch_response_public_association_multi.rb +328 -0
- data/lib/hubspot/codegen/crm/associations/schema/models/batch_response_public_association_multi_with_errors.rb +348 -0
- data/lib/hubspot/codegen/crm/associations/schema/models/batch_response_public_association_with_errors.rb +348 -0
- data/lib/hubspot/codegen/crm/associations/schema/models/collection_response_public_association_definition_no_paging.rb +232 -0
- data/lib/hubspot/codegen/crm/associations/schema/models/error.rb +307 -0
- data/lib/hubspot/codegen/crm/associations/schema/models/error_category.rb +278 -0
- data/lib/hubspot/codegen/crm/associations/schema/models/error_detail.rb +273 -0
- data/lib/hubspot/codegen/crm/associations/schema/models/next_page.rb +239 -0
- data/lib/hubspot/codegen/crm/associations/schema/models/paging.rb +234 -0
- data/lib/hubspot/codegen/crm/associations/schema/models/previous_page.rb +239 -0
- data/lib/hubspot/codegen/crm/associations/schema/models/public_association.rb +258 -0
- data/lib/hubspot/codegen/crm/associations/schema/models/public_association_definition.rb +244 -0
- data/lib/hubspot/codegen/crm/associations/schema/models/public_association_multi.rb +256 -0
- data/lib/hubspot/codegen/crm/associations/schema/models/public_object_id.rb +231 -0
- data/lib/hubspot/codegen/crm/associations/schema/models/standard_error.rb +324 -0
- data/lib/hubspot/codegen/crm/associations/v4/api/basic_api.rb +365 -0
- data/lib/hubspot/codegen/crm/associations/v4/api/batch_api.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/api_client.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/associated_id.rb +244 -0
- data/lib/hubspot/codegen/crm/associations/v4/models/association_spec.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/association_spec_with_label.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_association_multi_archive.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_association_multi_post.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_default_association_multi_post.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_fetch_associations_batch_request.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_simple_public_object_batch_input.rb +232 -0
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_simple_public_object_id.rb +232 -0
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_simple_public_object_input_for_create.rb +232 -0
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_read_input_simple_public_object_id.rb +273 -0
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_labels_between_object_pair.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_labels_between_object_pair_with_errors.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_association_multi_with_label.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_association_multi_with_label_with_errors.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_default_association.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_simple_public_object.rb +328 -0
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_simple_public_object_with_errors.rb +348 -0
- data/lib/hubspot/codegen/crm/associations/v4/models/collection_response_associated_id.rb +241 -0
- data/lib/hubspot/codegen/crm/associations/v4/models/collection_response_association_spec_with_label_no_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/collection_response_multi_associated_object_with_label_forward_paging.rb +241 -0
- data/lib/hubspot/codegen/crm/associations/v4/models/collection_response_simple_public_object_with_associations_forward_paging.rb +241 -0
- data/lib/hubspot/codegen/crm/associations/v4/models/error.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/error_category.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/forward_paging.rb +225 -0
- data/lib/hubspot/codegen/crm/associations/v4/models/labels_between_object_pair.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/multi_associated_object_with_label.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/paging.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/previous_page.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_association_definition_create_request.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_association_definition_update_request.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_archive.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_post.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_with_label.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_associations_for_object.rb +246 -0
- data/lib/hubspot/codegen/crm/associations/v4/models/public_default_association.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_default_association_multi_post.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_fetch_associations_batch_request.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_gdpr_delete_input.rb +239 -0
- data/lib/hubspot/codegen/crm/associations/v4/models/public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/simple_public_object.rb +303 -0
- data/lib/hubspot/codegen/crm/associations/v4/models/simple_public_object_batch_input.rb +246 -0
- data/lib/hubspot/codegen/crm/associations/v4/models/simple_public_object_id.rb +230 -0
- data/lib/hubspot/codegen/crm/associations/v4/models/simple_public_object_input.rb +232 -0
- data/lib/hubspot/codegen/crm/associations/v4/models/simple_public_object_input_for_create.rb +248 -0
- data/lib/hubspot/codegen/crm/associations/v4/models/simple_public_object_with_associations.rb +314 -0
- data/lib/hubspot/codegen/crm/associations/v4/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/value_with_timestamp.rb +285 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/api/definitions_api.rb +334 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/api_client.rb +414 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/api_error.rb +65 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/configuration.rb +298 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/association_spec.rb +280 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/association_spec_with_label.rb +289 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_association_multi_archive.rb +234 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_association_multi_post.rb +234 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_default_association_multi_post.rb +234 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_fetch_associations_batch_request.rb +234 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_labels_between_object_pair.rb +330 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_labels_between_object_pair_with_errors.rb +350 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_association_multi_with_label.rb +330 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_association_multi_with_label_with_errors.rb +350 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_default_association.rb +350 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/collection_response_association_spec_with_label_no_paging.rb +234 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/error.rb +309 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/error_category.rb +280 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/error_detail.rb +275 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/labels_between_object_pair.rb +290 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/multi_associated_object_with_label.rb +248 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/next_page.rb +241 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/paging.rb +236 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/previous_page.rb +241 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_definition_create_request.rb +246 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_definition_update_request.rb +246 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_multi_archive.rb +248 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_multi_post.rb +262 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_multi_with_label.rb +257 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_default_association.rb +260 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_default_association_multi_post.rb +246 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_fetch_associations_batch_request.rb +241 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_object_id.rb +232 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/standard_error.rb +326 -0
- data/lib/hubspot/codegen/crm/objects/communications/api/basic_api.rb +391 -0
- data/lib/hubspot/codegen/crm/objects/communications/api/batch_api.rb +295 -0
- data/lib/hubspot/codegen/crm/objects/communications/api/public_object_api.rb +94 -0
- data/lib/hubspot/codegen/crm/objects/communications/api/search_api.rb +92 -0
- data/lib/hubspot/codegen/crm/objects/communications/api_client.rb +412 -0
- data/lib/hubspot/codegen/crm/objects/communications/api_error.rb +63 -0
- data/lib/hubspot/codegen/crm/objects/communications/configuration.rb +296 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/associated_id.rb +244 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/association_spec.rb +278 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/batch_input_simple_public_object_batch_input.rb +232 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/batch_input_simple_public_object_id.rb +232 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/batch_input_simple_public_object_input_for_create.rb +232 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/batch_read_input_simple_public_object_id.rb +273 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/batch_response_simple_public_object.rb +328 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/batch_response_simple_public_object_with_errors.rb +348 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/collection_response_associated_id.rb +241 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/collection_response_simple_public_object_with_associations_forward_paging.rb +241 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/collection_response_with_total_simple_public_object_forward_paging.rb +255 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/error.rb +307 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/error_category.rb +278 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/error_detail.rb +273 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/filter.rb +308 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/filter_group.rb +232 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/forward_paging.rb +225 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/next_page.rb +239 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/paging.rb +234 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/previous_page.rb +239 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/public_associations_for_object.rb +246 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/public_merge_input.rb +244 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/public_object_id.rb +230 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/public_object_search_request.rb +301 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object.rb +303 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_batch_input.rb +246 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_id.rb +230 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_input.rb +232 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_input_for_create.rb +248 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_with_associations.rb +314 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/standard_error.rb +324 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/value_with_timestamp.rb +285 -0
- data/lib/hubspot/discovery/crm/associations/client.rb +4 -2
- data/lib/hubspot/discovery/crm/associations/schema/api/types_api.rb +15 -0
- data/lib/hubspot/discovery/crm/associations/schema/client.rb +20 -0
- data/lib/hubspot/discovery/crm/associations/v4/api/{definitions_api.rb → basic_api.rb} +1 -1
- data/lib/hubspot/discovery/crm/associations/v4/client.rb +6 -1
- data/lib/hubspot/discovery/crm/associations/v4/schema/api/definitions_api.rb +17 -0
- data/lib/hubspot/discovery/crm/associations/v4/schema/client.rb +22 -0
- data/lib/hubspot/discovery/crm/objects/client.rb +1 -0
- data/lib/hubspot/discovery/crm/objects/communications/api/basic_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/communications/api/batch_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/communications/api/public_object_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/communications/api/search_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/communications/client.rb +24 -0
- data/lib/hubspot/version.rb +1 -1
- data/spec/discovery/crm/associations/client_spec.rb +1 -0
- data/spec/discovery/crm/associations/schema/types_api_spec.rb +7 -0
- data/spec/discovery/crm/associations/v4/basic_api_spec.rb +10 -0
- data/spec/discovery/crm/associations/v4/client_spec.rb +7 -0
- data/spec/discovery/crm/associations/v4/{definitions_api_spec.rb → schema/definitions_api_spec.rb} +3 -3
- data/spec/discovery/crm/objects/client_spec.rb +1 -0
- data/spec/discovery/crm/objects/communications/basic_api_spec.rb +10 -0
- data/spec/discovery/crm/objects/communications/batch_api_spec.rb +10 -0
- data/spec/discovery/crm/objects/communications/public_object_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/communications/search_api_spec.rb +7 -0
- metadata +145 -10
- data/lib/hubspot/codegen/crm/associations/api/types_api.rb +0 -95
- data/lib/hubspot/codegen/crm/associations/v4/api/definitions_api.rb +0 -332
- data/lib/hubspot/discovery/crm/associations/api/types_api.rb +0 -13
- data/spec/discovery/crm/associations/types_api_spec.rb +0 -7
@@ -0,0 +1,348 @@
|
|
1
|
+
=begin
|
2
|
+
#Associations
|
3
|
+
|
4
|
+
#Associations define the relationships between objects in HubSpot. These endpoints allow you to create, read, and remove associations.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.2.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module Hubspot
|
17
|
+
module Crm
|
18
|
+
module Associations
|
19
|
+
module Schema
|
20
|
+
class BatchResponsePublicAssociationMultiWithErrors
|
21
|
+
attr_accessor :status
|
22
|
+
|
23
|
+
attr_accessor :results
|
24
|
+
|
25
|
+
attr_accessor :num_errors
|
26
|
+
|
27
|
+
attr_accessor :errors
|
28
|
+
|
29
|
+
attr_accessor :requested_at
|
30
|
+
|
31
|
+
attr_accessor :started_at
|
32
|
+
|
33
|
+
attr_accessor :completed_at
|
34
|
+
|
35
|
+
attr_accessor :links
|
36
|
+
|
37
|
+
class EnumAttributeValidator
|
38
|
+
attr_reader :datatype
|
39
|
+
attr_reader :allowable_values
|
40
|
+
|
41
|
+
def initialize(datatype, allowable_values)
|
42
|
+
@allowable_values = allowable_values.map do |value|
|
43
|
+
case datatype.to_s
|
44
|
+
when /Integer/i
|
45
|
+
value.to_i
|
46
|
+
when /Float/i
|
47
|
+
value.to_f
|
48
|
+
else
|
49
|
+
value
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
def valid?(value)
|
55
|
+
!value || allowable_values.include?(value)
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
60
|
+
def self.attribute_map
|
61
|
+
{
|
62
|
+
:'status' => :'status',
|
63
|
+
:'results' => :'results',
|
64
|
+
:'num_errors' => :'numErrors',
|
65
|
+
:'errors' => :'errors',
|
66
|
+
:'requested_at' => :'requestedAt',
|
67
|
+
:'started_at' => :'startedAt',
|
68
|
+
:'completed_at' => :'completedAt',
|
69
|
+
:'links' => :'links'
|
70
|
+
}
|
71
|
+
end
|
72
|
+
|
73
|
+
# Returns all the JSON keys this model knows about
|
74
|
+
def self.acceptable_attributes
|
75
|
+
attribute_map.values
|
76
|
+
end
|
77
|
+
|
78
|
+
# Attribute type mapping.
|
79
|
+
def self.openapi_types
|
80
|
+
{
|
81
|
+
:'status' => :'String',
|
82
|
+
:'results' => :'Array<PublicAssociationMulti>',
|
83
|
+
:'num_errors' => :'Integer',
|
84
|
+
:'errors' => :'Array<StandardError>',
|
85
|
+
:'requested_at' => :'Time',
|
86
|
+
:'started_at' => :'Time',
|
87
|
+
:'completed_at' => :'Time',
|
88
|
+
:'links' => :'Hash<String, String>'
|
89
|
+
}
|
90
|
+
end
|
91
|
+
|
92
|
+
# List of attributes with nullable: true
|
93
|
+
def self.openapi_nullable
|
94
|
+
Set.new([
|
95
|
+
])
|
96
|
+
end
|
97
|
+
|
98
|
+
# Initializes the object
|
99
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
100
|
+
def initialize(attributes = {})
|
101
|
+
if (!attributes.is_a?(Hash))
|
102
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Hubspot::Crm::Associations::Schema::BatchResponsePublicAssociationMultiWithErrors` initialize method"
|
103
|
+
end
|
104
|
+
|
105
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
106
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
107
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
108
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Hubspot::Crm::Associations::Schema::BatchResponsePublicAssociationMultiWithErrors`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
109
|
+
end
|
110
|
+
h[k.to_sym] = v
|
111
|
+
}
|
112
|
+
|
113
|
+
if attributes.key?(:'status')
|
114
|
+
self.status = attributes[:'status']
|
115
|
+
end
|
116
|
+
|
117
|
+
if attributes.key?(:'results')
|
118
|
+
if (value = attributes[:'results']).is_a?(Array)
|
119
|
+
self.results = value
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
if attributes.key?(:'num_errors')
|
124
|
+
self.num_errors = attributes[:'num_errors']
|
125
|
+
end
|
126
|
+
|
127
|
+
if attributes.key?(:'errors')
|
128
|
+
if (value = attributes[:'errors']).is_a?(Array)
|
129
|
+
self.errors = value
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
if attributes.key?(:'requested_at')
|
134
|
+
self.requested_at = attributes[:'requested_at']
|
135
|
+
end
|
136
|
+
|
137
|
+
if attributes.key?(:'started_at')
|
138
|
+
self.started_at = attributes[:'started_at']
|
139
|
+
end
|
140
|
+
|
141
|
+
if attributes.key?(:'completed_at')
|
142
|
+
self.completed_at = attributes[:'completed_at']
|
143
|
+
end
|
144
|
+
|
145
|
+
if attributes.key?(:'links')
|
146
|
+
if (value = attributes[:'links']).is_a?(Hash)
|
147
|
+
self.links = value
|
148
|
+
end
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
152
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
153
|
+
# @return Array for valid properties with the reasons
|
154
|
+
def list_invalid_properties
|
155
|
+
invalid_properties = Array.new
|
156
|
+
if @status.nil?
|
157
|
+
invalid_properties.push('invalid value for "status", status cannot be nil.')
|
158
|
+
end
|
159
|
+
|
160
|
+
if @results.nil?
|
161
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
162
|
+
end
|
163
|
+
|
164
|
+
if @started_at.nil?
|
165
|
+
invalid_properties.push('invalid value for "started_at", started_at cannot be nil.')
|
166
|
+
end
|
167
|
+
|
168
|
+
if @completed_at.nil?
|
169
|
+
invalid_properties.push('invalid value for "completed_at", completed_at cannot be nil.')
|
170
|
+
end
|
171
|
+
|
172
|
+
invalid_properties
|
173
|
+
end
|
174
|
+
|
175
|
+
# Check to see if the all the properties in the model are valid
|
176
|
+
# @return true if the model is valid
|
177
|
+
def valid?
|
178
|
+
return false if @status.nil?
|
179
|
+
status_validator = EnumAttributeValidator.new('String', ["PENDING", "PROCESSING", "CANCELED", "COMPLETE"])
|
180
|
+
return false unless status_validator.valid?(@status)
|
181
|
+
return false if @results.nil?
|
182
|
+
return false if @started_at.nil?
|
183
|
+
return false if @completed_at.nil?
|
184
|
+
true
|
185
|
+
end
|
186
|
+
|
187
|
+
# Custom attribute writer method checking allowed values (enum).
|
188
|
+
# @param [Object] status Object to be assigned
|
189
|
+
def status=(status)
|
190
|
+
validator = EnumAttributeValidator.new('String', ["PENDING", "PROCESSING", "CANCELED", "COMPLETE"])
|
191
|
+
unless validator.valid?(status)
|
192
|
+
fail ArgumentError, "invalid value for \"status\", must be one of #{validator.allowable_values}."
|
193
|
+
end
|
194
|
+
@status = status
|
195
|
+
end
|
196
|
+
|
197
|
+
# Checks equality by comparing each attribute.
|
198
|
+
# @param [Object] Object to be compared
|
199
|
+
def ==(o)
|
200
|
+
return true if self.equal?(o)
|
201
|
+
self.class == o.class &&
|
202
|
+
status == o.status &&
|
203
|
+
results == o.results &&
|
204
|
+
num_errors == o.num_errors &&
|
205
|
+
errors == o.errors &&
|
206
|
+
requested_at == o.requested_at &&
|
207
|
+
started_at == o.started_at &&
|
208
|
+
completed_at == o.completed_at &&
|
209
|
+
links == o.links
|
210
|
+
end
|
211
|
+
|
212
|
+
# @see the `==` method
|
213
|
+
# @param [Object] Object to be compared
|
214
|
+
def eql?(o)
|
215
|
+
self == o
|
216
|
+
end
|
217
|
+
|
218
|
+
# Calculates hash code according to all attributes.
|
219
|
+
# @return [Integer] Hash code
|
220
|
+
def hash
|
221
|
+
[status, results, num_errors, errors, requested_at, started_at, completed_at, links].hash
|
222
|
+
end
|
223
|
+
|
224
|
+
# Builds the object from hash
|
225
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
226
|
+
# @return [Object] Returns the model itself
|
227
|
+
def self.build_from_hash(attributes)
|
228
|
+
new.build_from_hash(attributes)
|
229
|
+
end
|
230
|
+
|
231
|
+
# Builds the object from hash
|
232
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
233
|
+
# @return [Object] Returns the model itself
|
234
|
+
def build_from_hash(attributes)
|
235
|
+
return nil unless attributes.is_a?(Hash)
|
236
|
+
attributes = attributes.transform_keys(&:to_sym)
|
237
|
+
self.class.openapi_types.each_pair do |key, type|
|
238
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
239
|
+
self.send("#{key}=", nil)
|
240
|
+
elsif type =~ /\AArray<(.*)>/i
|
241
|
+
# check to ensure the input is an array given that the attribute
|
242
|
+
# is documented as an array but the input is not
|
243
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
244
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
245
|
+
end
|
246
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
247
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
248
|
+
end
|
249
|
+
end
|
250
|
+
|
251
|
+
self
|
252
|
+
end
|
253
|
+
|
254
|
+
# Deserializes the data based on type
|
255
|
+
# @param string type Data type
|
256
|
+
# @param string value Value to be deserialized
|
257
|
+
# @return [Object] Deserialized data
|
258
|
+
def _deserialize(type, value)
|
259
|
+
case type.to_sym
|
260
|
+
when :Time
|
261
|
+
Time.parse(value)
|
262
|
+
when :Date
|
263
|
+
Date.parse(value)
|
264
|
+
when :String
|
265
|
+
value.to_s
|
266
|
+
when :Integer
|
267
|
+
value.to_i
|
268
|
+
when :Float
|
269
|
+
value.to_f
|
270
|
+
when :Boolean
|
271
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
272
|
+
true
|
273
|
+
else
|
274
|
+
false
|
275
|
+
end
|
276
|
+
when :Object
|
277
|
+
# generic object (usually a Hash), return directly
|
278
|
+
value
|
279
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
280
|
+
inner_type = Regexp.last_match[:inner_type]
|
281
|
+
value.map { |v| _deserialize(inner_type, v) }
|
282
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
283
|
+
k_type = Regexp.last_match[:k_type]
|
284
|
+
v_type = Regexp.last_match[:v_type]
|
285
|
+
{}.tap do |hash|
|
286
|
+
value.each do |k, v|
|
287
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
288
|
+
end
|
289
|
+
end
|
290
|
+
else # model
|
291
|
+
# models (e.g. Pet) or oneOf
|
292
|
+
klass = Hubspot::Crm::Associations::Schema.const_get(type)
|
293
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
294
|
+
end
|
295
|
+
end
|
296
|
+
|
297
|
+
# Returns the string representation of the object
|
298
|
+
# @return [String] String presentation of the object
|
299
|
+
def to_s
|
300
|
+
to_hash.to_s
|
301
|
+
end
|
302
|
+
|
303
|
+
# to_body is an alias to to_hash (backward compatibility)
|
304
|
+
# @return [Hash] Returns the object in the form of hash
|
305
|
+
def to_body
|
306
|
+
to_hash
|
307
|
+
end
|
308
|
+
|
309
|
+
# Returns the object in the form of hash
|
310
|
+
# @return [Hash] Returns the object in the form of hash
|
311
|
+
def to_hash
|
312
|
+
hash = {}
|
313
|
+
self.class.attribute_map.each_pair do |attr, param|
|
314
|
+
value = self.send(attr)
|
315
|
+
if value.nil?
|
316
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
317
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
318
|
+
end
|
319
|
+
|
320
|
+
hash[param] = _to_hash(value)
|
321
|
+
end
|
322
|
+
hash
|
323
|
+
end
|
324
|
+
|
325
|
+
# Outputs non-array value in the form of hash
|
326
|
+
# For object, use to_hash. Otherwise, just return the value
|
327
|
+
# @param [Object] value Any valid value
|
328
|
+
# @return [Hash] Returns the value in the form of hash
|
329
|
+
def _to_hash(value)
|
330
|
+
if value.is_a?(Array)
|
331
|
+
value.compact.map { |v| _to_hash(v) }
|
332
|
+
elsif value.is_a?(Hash)
|
333
|
+
{}.tap do |hash|
|
334
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
335
|
+
end
|
336
|
+
elsif value.respond_to? :to_hash
|
337
|
+
value.to_hash
|
338
|
+
else
|
339
|
+
value
|
340
|
+
end
|
341
|
+
end
|
342
|
+
|
343
|
+
end
|
344
|
+
|
345
|
+
end
|
346
|
+
end
|
347
|
+
end
|
348
|
+
end
|
@@ -0,0 +1,348 @@
|
|
1
|
+
=begin
|
2
|
+
#Associations
|
3
|
+
|
4
|
+
#Associations define the relationships between objects in HubSpot. These endpoints allow you to create, read, and remove associations.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.2.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module Hubspot
|
17
|
+
module Crm
|
18
|
+
module Associations
|
19
|
+
module Schema
|
20
|
+
class BatchResponsePublicAssociationWithErrors
|
21
|
+
attr_accessor :status
|
22
|
+
|
23
|
+
attr_accessor :results
|
24
|
+
|
25
|
+
attr_accessor :num_errors
|
26
|
+
|
27
|
+
attr_accessor :errors
|
28
|
+
|
29
|
+
attr_accessor :requested_at
|
30
|
+
|
31
|
+
attr_accessor :started_at
|
32
|
+
|
33
|
+
attr_accessor :completed_at
|
34
|
+
|
35
|
+
attr_accessor :links
|
36
|
+
|
37
|
+
class EnumAttributeValidator
|
38
|
+
attr_reader :datatype
|
39
|
+
attr_reader :allowable_values
|
40
|
+
|
41
|
+
def initialize(datatype, allowable_values)
|
42
|
+
@allowable_values = allowable_values.map do |value|
|
43
|
+
case datatype.to_s
|
44
|
+
when /Integer/i
|
45
|
+
value.to_i
|
46
|
+
when /Float/i
|
47
|
+
value.to_f
|
48
|
+
else
|
49
|
+
value
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
def valid?(value)
|
55
|
+
!value || allowable_values.include?(value)
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
60
|
+
def self.attribute_map
|
61
|
+
{
|
62
|
+
:'status' => :'status',
|
63
|
+
:'results' => :'results',
|
64
|
+
:'num_errors' => :'numErrors',
|
65
|
+
:'errors' => :'errors',
|
66
|
+
:'requested_at' => :'requestedAt',
|
67
|
+
:'started_at' => :'startedAt',
|
68
|
+
:'completed_at' => :'completedAt',
|
69
|
+
:'links' => :'links'
|
70
|
+
}
|
71
|
+
end
|
72
|
+
|
73
|
+
# Returns all the JSON keys this model knows about
|
74
|
+
def self.acceptable_attributes
|
75
|
+
attribute_map.values
|
76
|
+
end
|
77
|
+
|
78
|
+
# Attribute type mapping.
|
79
|
+
def self.openapi_types
|
80
|
+
{
|
81
|
+
:'status' => :'String',
|
82
|
+
:'results' => :'Array<PublicAssociation>',
|
83
|
+
:'num_errors' => :'Integer',
|
84
|
+
:'errors' => :'Array<StandardError>',
|
85
|
+
:'requested_at' => :'Time',
|
86
|
+
:'started_at' => :'Time',
|
87
|
+
:'completed_at' => :'Time',
|
88
|
+
:'links' => :'Hash<String, String>'
|
89
|
+
}
|
90
|
+
end
|
91
|
+
|
92
|
+
# List of attributes with nullable: true
|
93
|
+
def self.openapi_nullable
|
94
|
+
Set.new([
|
95
|
+
])
|
96
|
+
end
|
97
|
+
|
98
|
+
# Initializes the object
|
99
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
100
|
+
def initialize(attributes = {})
|
101
|
+
if (!attributes.is_a?(Hash))
|
102
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Hubspot::Crm::Associations::Schema::BatchResponsePublicAssociationWithErrors` initialize method"
|
103
|
+
end
|
104
|
+
|
105
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
106
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
107
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
108
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Hubspot::Crm::Associations::Schema::BatchResponsePublicAssociationWithErrors`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
109
|
+
end
|
110
|
+
h[k.to_sym] = v
|
111
|
+
}
|
112
|
+
|
113
|
+
if attributes.key?(:'status')
|
114
|
+
self.status = attributes[:'status']
|
115
|
+
end
|
116
|
+
|
117
|
+
if attributes.key?(:'results')
|
118
|
+
if (value = attributes[:'results']).is_a?(Array)
|
119
|
+
self.results = value
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
if attributes.key?(:'num_errors')
|
124
|
+
self.num_errors = attributes[:'num_errors']
|
125
|
+
end
|
126
|
+
|
127
|
+
if attributes.key?(:'errors')
|
128
|
+
if (value = attributes[:'errors']).is_a?(Array)
|
129
|
+
self.errors = value
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
if attributes.key?(:'requested_at')
|
134
|
+
self.requested_at = attributes[:'requested_at']
|
135
|
+
end
|
136
|
+
|
137
|
+
if attributes.key?(:'started_at')
|
138
|
+
self.started_at = attributes[:'started_at']
|
139
|
+
end
|
140
|
+
|
141
|
+
if attributes.key?(:'completed_at')
|
142
|
+
self.completed_at = attributes[:'completed_at']
|
143
|
+
end
|
144
|
+
|
145
|
+
if attributes.key?(:'links')
|
146
|
+
if (value = attributes[:'links']).is_a?(Hash)
|
147
|
+
self.links = value
|
148
|
+
end
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
152
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
153
|
+
# @return Array for valid properties with the reasons
|
154
|
+
def list_invalid_properties
|
155
|
+
invalid_properties = Array.new
|
156
|
+
if @status.nil?
|
157
|
+
invalid_properties.push('invalid value for "status", status cannot be nil.')
|
158
|
+
end
|
159
|
+
|
160
|
+
if @results.nil?
|
161
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
162
|
+
end
|
163
|
+
|
164
|
+
if @started_at.nil?
|
165
|
+
invalid_properties.push('invalid value for "started_at", started_at cannot be nil.')
|
166
|
+
end
|
167
|
+
|
168
|
+
if @completed_at.nil?
|
169
|
+
invalid_properties.push('invalid value for "completed_at", completed_at cannot be nil.')
|
170
|
+
end
|
171
|
+
|
172
|
+
invalid_properties
|
173
|
+
end
|
174
|
+
|
175
|
+
# Check to see if the all the properties in the model are valid
|
176
|
+
# @return true if the model is valid
|
177
|
+
def valid?
|
178
|
+
return false if @status.nil?
|
179
|
+
status_validator = EnumAttributeValidator.new('String', ["PENDING", "PROCESSING", "CANCELED", "COMPLETE"])
|
180
|
+
return false unless status_validator.valid?(@status)
|
181
|
+
return false if @results.nil?
|
182
|
+
return false if @started_at.nil?
|
183
|
+
return false if @completed_at.nil?
|
184
|
+
true
|
185
|
+
end
|
186
|
+
|
187
|
+
# Custom attribute writer method checking allowed values (enum).
|
188
|
+
# @param [Object] status Object to be assigned
|
189
|
+
def status=(status)
|
190
|
+
validator = EnumAttributeValidator.new('String', ["PENDING", "PROCESSING", "CANCELED", "COMPLETE"])
|
191
|
+
unless validator.valid?(status)
|
192
|
+
fail ArgumentError, "invalid value for \"status\", must be one of #{validator.allowable_values}."
|
193
|
+
end
|
194
|
+
@status = status
|
195
|
+
end
|
196
|
+
|
197
|
+
# Checks equality by comparing each attribute.
|
198
|
+
# @param [Object] Object to be compared
|
199
|
+
def ==(o)
|
200
|
+
return true if self.equal?(o)
|
201
|
+
self.class == o.class &&
|
202
|
+
status == o.status &&
|
203
|
+
results == o.results &&
|
204
|
+
num_errors == o.num_errors &&
|
205
|
+
errors == o.errors &&
|
206
|
+
requested_at == o.requested_at &&
|
207
|
+
started_at == o.started_at &&
|
208
|
+
completed_at == o.completed_at &&
|
209
|
+
links == o.links
|
210
|
+
end
|
211
|
+
|
212
|
+
# @see the `==` method
|
213
|
+
# @param [Object] Object to be compared
|
214
|
+
def eql?(o)
|
215
|
+
self == o
|
216
|
+
end
|
217
|
+
|
218
|
+
# Calculates hash code according to all attributes.
|
219
|
+
# @return [Integer] Hash code
|
220
|
+
def hash
|
221
|
+
[status, results, num_errors, errors, requested_at, started_at, completed_at, links].hash
|
222
|
+
end
|
223
|
+
|
224
|
+
# Builds the object from hash
|
225
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
226
|
+
# @return [Object] Returns the model itself
|
227
|
+
def self.build_from_hash(attributes)
|
228
|
+
new.build_from_hash(attributes)
|
229
|
+
end
|
230
|
+
|
231
|
+
# Builds the object from hash
|
232
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
233
|
+
# @return [Object] Returns the model itself
|
234
|
+
def build_from_hash(attributes)
|
235
|
+
return nil unless attributes.is_a?(Hash)
|
236
|
+
attributes = attributes.transform_keys(&:to_sym)
|
237
|
+
self.class.openapi_types.each_pair do |key, type|
|
238
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
239
|
+
self.send("#{key}=", nil)
|
240
|
+
elsif type =~ /\AArray<(.*)>/i
|
241
|
+
# check to ensure the input is an array given that the attribute
|
242
|
+
# is documented as an array but the input is not
|
243
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
244
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
245
|
+
end
|
246
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
247
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
248
|
+
end
|
249
|
+
end
|
250
|
+
|
251
|
+
self
|
252
|
+
end
|
253
|
+
|
254
|
+
# Deserializes the data based on type
|
255
|
+
# @param string type Data type
|
256
|
+
# @param string value Value to be deserialized
|
257
|
+
# @return [Object] Deserialized data
|
258
|
+
def _deserialize(type, value)
|
259
|
+
case type.to_sym
|
260
|
+
when :Time
|
261
|
+
Time.parse(value)
|
262
|
+
when :Date
|
263
|
+
Date.parse(value)
|
264
|
+
when :String
|
265
|
+
value.to_s
|
266
|
+
when :Integer
|
267
|
+
value.to_i
|
268
|
+
when :Float
|
269
|
+
value.to_f
|
270
|
+
when :Boolean
|
271
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
272
|
+
true
|
273
|
+
else
|
274
|
+
false
|
275
|
+
end
|
276
|
+
when :Object
|
277
|
+
# generic object (usually a Hash), return directly
|
278
|
+
value
|
279
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
280
|
+
inner_type = Regexp.last_match[:inner_type]
|
281
|
+
value.map { |v| _deserialize(inner_type, v) }
|
282
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
283
|
+
k_type = Regexp.last_match[:k_type]
|
284
|
+
v_type = Regexp.last_match[:v_type]
|
285
|
+
{}.tap do |hash|
|
286
|
+
value.each do |k, v|
|
287
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
288
|
+
end
|
289
|
+
end
|
290
|
+
else # model
|
291
|
+
# models (e.g. Pet) or oneOf
|
292
|
+
klass = Hubspot::Crm::Associations::Schema.const_get(type)
|
293
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
294
|
+
end
|
295
|
+
end
|
296
|
+
|
297
|
+
# Returns the string representation of the object
|
298
|
+
# @return [String] String presentation of the object
|
299
|
+
def to_s
|
300
|
+
to_hash.to_s
|
301
|
+
end
|
302
|
+
|
303
|
+
# to_body is an alias to to_hash (backward compatibility)
|
304
|
+
# @return [Hash] Returns the object in the form of hash
|
305
|
+
def to_body
|
306
|
+
to_hash
|
307
|
+
end
|
308
|
+
|
309
|
+
# Returns the object in the form of hash
|
310
|
+
# @return [Hash] Returns the object in the form of hash
|
311
|
+
def to_hash
|
312
|
+
hash = {}
|
313
|
+
self.class.attribute_map.each_pair do |attr, param|
|
314
|
+
value = self.send(attr)
|
315
|
+
if value.nil?
|
316
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
317
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
318
|
+
end
|
319
|
+
|
320
|
+
hash[param] = _to_hash(value)
|
321
|
+
end
|
322
|
+
hash
|
323
|
+
end
|
324
|
+
|
325
|
+
# Outputs non-array value in the form of hash
|
326
|
+
# For object, use to_hash. Otherwise, just return the value
|
327
|
+
# @param [Object] value Any valid value
|
328
|
+
# @return [Hash] Returns the value in the form of hash
|
329
|
+
def _to_hash(value)
|
330
|
+
if value.is_a?(Array)
|
331
|
+
value.compact.map { |v| _to_hash(v) }
|
332
|
+
elsif value.is_a?(Hash)
|
333
|
+
{}.tap do |hash|
|
334
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
335
|
+
end
|
336
|
+
elsif value.respond_to? :to_hash
|
337
|
+
value.to_hash
|
338
|
+
else
|
339
|
+
value
|
340
|
+
end
|
341
|
+
end
|
342
|
+
|
343
|
+
end
|
344
|
+
|
345
|
+
end
|
346
|
+
end
|
347
|
+
end
|
348
|
+
end
|