factpulse 4.1.2 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -5
  3. data/Gemfile.lock +2 -2
  4. data/docs/AFNORBasicAuthentication.md +20 -0
  5. data/docs/AFNORCallbackAuthentication.md +49 -0
  6. data/docs/AFNORCallbackHeader.md +20 -0
  7. data/docs/AFNORCallbackParameters.md +24 -0
  8. data/docs/AFNORCallbackSignature.md +20 -0
  9. data/docs/{AFNORFacilityNature.md → AFNORContainsOrStrictOperator.md} +2 -2
  10. data/docs/AFNORCoreFlowInfo.md +26 -0
  11. data/docs/{AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode.md → AFNORDirectoryLinePayloadLegalUnitFacilityRoutingCode.md} +5 -5
  12. data/docs/AFNORDirectoryLinePayloadStatusLegalUnitFacilityRoutingCode.md +34 -0
  13. data/docs/AFNORDirectoryLineSearchPost200Response.md +1 -1
  14. data/docs/{AFNORDiffusionStatus.md → AFNORDirectoryLineStatus.md} +2 -2
  15. data/docs/AFNORError.md +4 -4
  16. data/docs/AFNORFacilityPayloadHistory.md +3 -3
  17. data/docs/AFNORFacilityPayloadIncluded.md +0 -2
  18. data/docs/AFNORFlow.md +16 -14
  19. data/docs/AFNORFlowExtension.md +26 -0
  20. data/docs/AFNORFlowInfo.md +3 -3
  21. data/docs/AFNORFlowInfoExtension.md +18 -0
  22. data/docs/AFNORFullFlowInfo.md +8 -8
  23. data/docs/AFNORFullFlowInfoExtension.md +20 -0
  24. data/docs/AFNORLegalUnitPayloadHistory.md +3 -1
  25. data/docs/AFNOROAuth2Authentication.md +22 -0
  26. data/docs/AFNORPDPPADirectoryServiceApi.md +4 -648
  27. data/docs/AFNORPDPPAFlowServiceApi.md +320 -1
  28. data/docs/AFNORRoutingCodeSearch.md +1 -1
  29. data/docs/AFNORRoutingCodeSearchFiltersRoutingCodeName.md +1 -1
  30. data/docs/AFNORRoutingCodeSearchFiltersRoutingIdentifier.md +1 -1
  31. data/docs/AFNORSearchDirectoryLine.md +2 -2
  32. data/docs/AFNORSearchDirectoryLineFiltersAddressingIdentifier.md +1 -1
  33. data/docs/AFNORSearchDirectoryLineFiltersAddressingSuffix.md +1 -1
  34. data/docs/AFNORSearchFlowFilters.md +1 -1
  35. data/docs/AFNORSearchSiren.md +1 -1
  36. data/docs/AFNORSearchSirenFiltersBusinessName.md +1 -1
  37. data/docs/AFNORSearchSirenFiltersSiren.md +1 -1
  38. data/docs/AFNORSearchSiret.md +2 -2
  39. data/docs/AFNORSearchSiretFiltersCountrySubdivision.md +1 -1
  40. data/docs/AFNORSearchSiretFiltersFacilityType.md +1 -1
  41. data/docs/AFNORSearchSiretFiltersLocality.md +1 -1
  42. data/docs/AFNORSearchSiretFiltersName.md +1 -1
  43. data/docs/AFNORSearchSiretFiltersPostalCode.md +1 -1
  44. data/docs/AFNORSearchSiretFiltersSiret.md +1 -1
  45. data/docs/AFNORSirenInstructions.md +18 -0
  46. data/docs/AFNORSiretInstructions.md +18 -0
  47. data/docs/{AFNORPlatformStatus.md → AFNORStrictOrStartWithOperator.md} +2 -2
  48. data/docs/AFNORWebhook.md +22 -0
  49. data/docs/AFNORWebhookIdParam.md +18 -0
  50. data/docs/AFNORWebhookMetadata.md +24 -0
  51. data/docs/AFNORWebhookParams.md +20 -0
  52. data/docs/AFNORWebhookPatchPayload.md +22 -0
  53. data/docs/ChorusProCredentials.md +8 -8
  54. data/docs/ChorusProDestination.md +1 -1
  55. data/docs/FactureElectroniqueRestApiSchemasCdarValidationErrorResponse.md +24 -0
  56. data/docs/FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode.md +15 -0
  57. data/docs/FactureElectroniqueRestApiSchemasProcessingChorusProCredentials.md +26 -0
  58. data/docs/GetChorusProIdRequest.md +1 -1
  59. data/docs/GetInvoiceRequest.md +1 -1
  60. data/docs/GetStructureRequest.md +1 -1
  61. data/docs/InvoiceInput.md +1 -1
  62. data/docs/SearchStructureRequest.md +1 -1
  63. data/docs/SimplifiedInvoiceData.md +1 -1
  64. data/docs/SubmitInvoiceRequest.md +1 -1
  65. data/docs/ValidateCDARResponse.md +2 -2
  66. data/docs/ValidationErrorResponse.md +2 -8
  67. data/lib/factpulse/api/afnorpdppa_directory_service_api.rb +3 -621
  68. data/lib/factpulse/api/afnorpdppa_flow_service_api.rb +303 -0
  69. data/lib/factpulse/models/afnor_algorithm.rb +4 -3
  70. data/lib/factpulse/models/afnor_basic_authentication.rb +190 -0
  71. data/lib/factpulse/models/afnor_callback_authentication.rb +105 -0
  72. data/lib/factpulse/models/afnor_callback_header.rb +190 -0
  73. data/lib/factpulse/models/afnor_callback_parameters.rb +193 -0
  74. data/lib/factpulse/models/{afnor_directory_line_payload_history_legal_unit_facility_routing_code_platform.rb → afnor_callback_signature.rb} +51 -16
  75. data/lib/factpulse/models/{afnor_diffusion_status.rb → afnor_contains_or_strict_operator.rb} +6 -6
  76. data/lib/factpulse/models/{afnor_routing_code_post201_response.rb → afnor_core_flow_info.rb} +103 -61
  77. data/lib/factpulse/models/afnor_directory_line_field.rb +1 -2
  78. data/lib/factpulse/models/{afnor_directory_line_payload_history_legal_unit_facility_routing_code.rb → afnor_directory_line_payload_legal_unit_facility_routing_code.rb} +36 -14
  79. data/lib/factpulse/models/{afnor_create_directory_line_body_addressing_information.rb → afnor_directory_line_payload_status_legal_unit_facility_routing_code.rb} +105 -56
  80. data/lib/factpulse/models/afnor_directory_line_search_post200_response.rb +1 -1
  81. data/lib/factpulse/models/{afnor_platform_status.rb → afnor_directory_line_status.rb} +5 -4
  82. data/lib/factpulse/models/afnor_error.rb +30 -39
  83. data/lib/factpulse/models/afnor_facility_payload_history.rb +11 -11
  84. data/lib/factpulse/models/afnor_facility_payload_included.rb +1 -10
  85. data/lib/factpulse/models/afnor_flow.rb +218 -57
  86. data/lib/factpulse/models/{afnor_update_patch_routing_code_body.rb → afnor_flow_extension.rb} +103 -66
  87. data/lib/factpulse/models/afnor_flow_info.rb +20 -4
  88. data/lib/factpulse/models/{afnor_create_directory_line_body_period.rb → afnor_flow_info_extension.rb} +26 -31
  89. data/lib/factpulse/models/afnor_full_flow_info.rb +79 -46
  90. data/lib/factpulse/models/afnor_full_flow_info_extension.rb +202 -0
  91. data/lib/factpulse/models/afnor_legal_unit_payload_history.rb +13 -4
  92. data/lib/factpulse/models/afnor_processing_rule.rb +4 -1
  93. data/lib/factpulse/models/afnor_routing_code_field.rb +1 -2
  94. data/lib/factpulse/models/afnor_routing_code_search_filters_routing_code_name.rb +1 -1
  95. data/lib/factpulse/models/afnor_routing_code_search_filters_routing_identifier.rb +1 -1
  96. data/lib/factpulse/models/afnor_search_directory_line_filters_addressing_identifier.rb +1 -1
  97. data/lib/factpulse/models/afnor_search_directory_line_filters_addressing_suffix.rb +1 -1
  98. data/lib/factpulse/models/afnor_search_flow_filters.rb +1 -0
  99. data/lib/factpulse/models/afnor_search_siren_filters_business_name.rb +1 -1
  100. data/lib/factpulse/models/afnor_search_siren_filters_siren.rb +1 -1
  101. data/lib/factpulse/models/afnor_search_siret_filters_country_subdivision.rb +1 -1
  102. data/lib/factpulse/models/afnor_search_siret_filters_facility_type.rb +1 -1
  103. data/lib/factpulse/models/afnor_search_siret_filters_locality.rb +1 -1
  104. data/lib/factpulse/models/afnor_search_siret_filters_name.rb +1 -1
  105. data/lib/factpulse/models/afnor_search_siret_filters_postal_code.rb +1 -1
  106. data/lib/factpulse/models/afnor_search_siret_filters_siret.rb +1 -1
  107. data/lib/factpulse/models/afnor_siren_field.rb +2 -2
  108. data/lib/factpulse/models/{afnor_update_patch_directory_line_body.rb → afnor_siren_instructions.rb} +12 -11
  109. data/lib/factpulse/models/afnor_siret_field.rb +3 -4
  110. data/lib/factpulse/models/{afnor_create_directory_line_body.rb → afnor_siret_instructions.rb} +12 -19
  111. data/lib/factpulse/models/{afnor_facility_nature.rb → afnor_strict_or_start_with_operator.rb} +6 -6
  112. data/lib/factpulse/models/{afnor_directory_line_post201_response.rb → afnor_webhook.rb} +55 -35
  113. data/lib/factpulse/models/{afnor_webhook_callback_content.rb → afnor_webhook_id_param.rb} +10 -11
  114. data/lib/factpulse/models/{afnor_legal_unit_payload_included_no_siren.rb → afnor_webhook_metadata.rb} +56 -33
  115. data/lib/factpulse/models/afnor_webhook_params.rb +190 -0
  116. data/lib/factpulse/models/{facture_electronique_rest_api_schemas_validation_validation_error_response.rb → afnor_webhook_patch_payload.rb} +29 -30
  117. data/lib/factpulse/models/afnoro_auth2_authentication.rb +216 -0
  118. data/lib/factpulse/models/chorus_pro_credentials.rb +94 -26
  119. data/lib/factpulse/models/chorus_pro_destination.rb +1 -1
  120. data/lib/factpulse/models/facture_electronique_rest_api_schemas_cdar_validation_error_response.rb +215 -0
  121. data/lib/factpulse/models/{facture_electronique_models_invoice_type_code.rb → facture_electronique_rest_api_schemas_ereporting_invoice_type_code.rb} +9 -20
  122. data/lib/factpulse/models/facture_electronique_rest_api_schemas_processing_chorus_pro_credentials.rb +191 -0
  123. data/lib/factpulse/models/get_chorus_pro_id_request.rb +1 -1
  124. data/lib/factpulse/models/get_invoice_request.rb +1 -1
  125. data/lib/factpulse/models/get_structure_request.rb +1 -1
  126. data/lib/factpulse/models/invoice_input.rb +1 -1
  127. data/lib/factpulse/models/invoice_type_code.rb +17 -6
  128. data/lib/factpulse/models/processing_rule.rb +4 -1
  129. data/lib/factpulse/models/search_structure_request.rb +1 -1
  130. data/lib/factpulse/models/simplified_invoice_data.rb +1 -1
  131. data/lib/factpulse/models/submit_invoice_request.rb +1 -1
  132. data/lib/factpulse/models/validate_cdar_response.rb +2 -2
  133. data/lib/factpulse/models/validation_error_response.rb +20 -67
  134. data/lib/factpulse/version.rb +1 -1
  135. data/lib/factpulse.rb +25 -22
  136. metadata +52 -46
  137. data/docs/AFNORAddressEdit.md +0 -30
  138. data/docs/AFNORAddressPatch.md +0 -30
  139. data/docs/AFNORAddressPut.md +0 -30
  140. data/docs/AFNORCreateDirectoryLineBody.md +0 -20
  141. data/docs/AFNORCreateDirectoryLineBodyAddressingInformation.md +0 -24
  142. data/docs/AFNORCreateDirectoryLineBodyPeriod.md +0 -20
  143. data/docs/AFNORCreateRoutingCodeBody.md +0 -32
  144. data/docs/AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCodePlatform.md +0 -20
  145. data/docs/AFNORDirectoryLinePost201Response.md +0 -22
  146. data/docs/AFNORLegalUnitPayloadIncludedNoSiren.md +0 -22
  147. data/docs/AFNORRoutingCodePost201Response.md +0 -22
  148. data/docs/AFNORUpdatePatchDirectoryLineBody.md +0 -18
  149. data/docs/AFNORUpdatePatchRoutingCodeBody.md +0 -24
  150. data/docs/AFNORUpdatePutRoutingCodeBody.md +0 -24
  151. data/docs/AFNORWebhookCallbackContent.md +0 -18
  152. data/docs/FactureElectroniqueModelsInvoiceTypeCode.md +0 -15
  153. data/docs/FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md +0 -26
  154. data/docs/FactureElectroniqueRestApiSchemasValidationValidationErrorResponse.md +0 -18
  155. data/lib/factpulse/models/afnor_address_edit.rb +0 -353
  156. data/lib/factpulse/models/afnor_address_patch.rb +0 -386
  157. data/lib/factpulse/models/afnor_address_put.rb +0 -435
  158. data/lib/factpulse/models/afnor_create_routing_code_body.rb +0 -412
  159. data/lib/factpulse/models/afnor_update_put_routing_code_body.rb +0 -289
  160. data/lib/factpulse/models/facture_electronique_rest_api_schemas_chorus_pro_chorus_pro_credentials.rb +0 -259
@@ -46,7 +46,7 @@ module FactPulse
46
46
  {
47
47
  :'search' => :'AFNORSearchDirectoryLine',
48
48
  :'total_number_of_results' => :'Integer',
49
- :'results' => :'Array<AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode>'
49
+ :'results' => :'Array<AFNORDirectoryLinePayloadStatusLegalUnitFacilityRoutingCode>'
50
50
  }
51
51
  end
52
52
 
@@ -14,12 +14,13 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module FactPulse
17
- class AFNORPlatformStatus
17
+ class AFNORDirectoryLineStatus
18
18
  ENABLED = "Enabled".freeze
19
19
  DISABLED = "Disabled".freeze
20
+ UPCOMING = "Upcoming".freeze
20
21
 
21
22
  def self.all_vars
22
- @all_vars ||= [ENABLED, DISABLED].freeze
23
+ @all_vars ||= [ENABLED, DISABLED, UPCOMING].freeze
23
24
  end
24
25
 
25
26
  # Builds the enum from string
@@ -33,8 +34,8 @@ module FactPulse
33
34
  # @param [String] The enum value in the form of the string
34
35
  # @return [String] The enum value
35
36
  def build_from_hash(value)
36
- return value if AFNORPlatformStatus.all_vars.include?(value)
37
- raise "Invalid ENUM value #{value} for class #AFNORPlatformStatus"
37
+ return value if AFNORDirectoryLineStatus.all_vars.include?(value)
38
+ raise "Invalid ENUM value #{value} for class #AFNORDirectoryLineStatus"
38
39
  end
39
40
  end
40
41
  end
@@ -14,13 +14,15 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module FactPulse
17
+ # Error code
17
18
  class AFNORError < ApiModelBase
18
- attr_accessor :type
19
+ # Short numerical or alphanumerical code that identifies precisely a unique error.
20
+ attr_accessor :error_code
19
21
 
20
- attr_accessor :message
22
+ # Contains information on the error. Not intended to be displayed to an end user. For security reasons, a tradeoff between clarity & security shall be found.
23
+ attr_accessor :error_message
21
24
 
22
- # The HTTP status code generated by the origin server for this occurrence of the problem.
23
- attr_accessor :status
25
+ attr_accessor :type
24
26
 
25
27
  attr_accessor :details
26
28
 
@@ -29,9 +31,9 @@ module FactPulse
29
31
  # Attribute mapping from ruby-style variable name to JSON key.
30
32
  def self.attribute_map
31
33
  {
34
+ :'error_code' => :'errorCode',
35
+ :'error_message' => :'errorMessage',
32
36
  :'type' => :'type',
33
- :'message' => :'message',
34
- :'status' => :'status',
35
37
  :'details' => :'details',
36
38
  :'instance' => :'instance'
37
39
  }
@@ -50,9 +52,9 @@ module FactPulse
50
52
  # Attribute type mapping.
51
53
  def self.openapi_types
52
54
  {
55
+ :'error_code' => :'String',
56
+ :'error_message' => :'String',
53
57
  :'type' => :'String',
54
- :'message' => :'String',
55
- :'status' => :'Integer',
56
58
  :'details' => :'String',
57
59
  :'instance' => :'String'
58
60
  }
@@ -80,18 +82,20 @@ module FactPulse
80
82
  h[k.to_sym] = v
81
83
  }
82
84
 
83
- if attributes.key?(:'type')
84
- self.type = attributes[:'type']
85
+ if attributes.key?(:'error_code')
86
+ self.error_code = attributes[:'error_code']
85
87
  else
86
- self.type = 'about:blank'
88
+ self.error_code = nil
87
89
  end
88
90
 
89
- if attributes.key?(:'message')
90
- self.message = attributes[:'message']
91
+ if attributes.key?(:'error_message')
92
+ self.error_message = attributes[:'error_message']
91
93
  end
92
94
 
93
- if attributes.key?(:'status')
94
- self.status = attributes[:'status']
95
+ if attributes.key?(:'type')
96
+ self.type = attributes[:'type']
97
+ else
98
+ self.type = 'about:blank'
95
99
  end
96
100
 
97
101
  if attributes.key?(:'details')
@@ -108,12 +112,8 @@ module FactPulse
108
112
  def list_invalid_properties
109
113
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
110
114
  invalid_properties = Array.new
111
- if !@status.nil? && @status > 600
112
- invalid_properties.push('invalid value for "status", must be smaller than or equal to 600.')
113
- end
114
-
115
- if !@status.nil? && @status < 100
116
- invalid_properties.push('invalid value for "status", must be greater than or equal to 100.')
115
+ if @error_code.nil?
116
+ invalid_properties.push('invalid value for "error_code", error_code cannot be nil.')
117
117
  end
118
118
 
119
119
  invalid_properties
@@ -123,27 +123,18 @@ module FactPulse
123
123
  # @return true if the model is valid
124
124
  def valid?
125
125
  warn '[DEPRECATED] the `valid?` method is obsolete'
126
- return false if !@status.nil? && @status > 600
127
- return false if !@status.nil? && @status < 100
126
+ return false if @error_code.nil?
128
127
  true
129
128
  end
130
129
 
131
130
  # Custom attribute writer method with validation
132
- # @param [Object] status Value to be assigned
133
- def status=(status)
134
- if status.nil?
135
- fail ArgumentError, 'status cannot be nil'
136
- end
137
-
138
- if status > 600
139
- fail ArgumentError, 'invalid value for "status", must be smaller than or equal to 600.'
140
- end
141
-
142
- if status < 100
143
- fail ArgumentError, 'invalid value for "status", must be greater than or equal to 100.'
131
+ # @param [Object] error_code Value to be assigned
132
+ def error_code=(error_code)
133
+ if error_code.nil?
134
+ fail ArgumentError, 'error_code cannot be nil'
144
135
  end
145
136
 
146
- @status = status
137
+ @error_code = error_code
147
138
  end
148
139
 
149
140
  # Checks equality by comparing each attribute.
@@ -151,9 +142,9 @@ module FactPulse
151
142
  def ==(o)
152
143
  return true if self.equal?(o)
153
144
  self.class == o.class &&
145
+ error_code == o.error_code &&
146
+ error_message == o.error_message &&
154
147
  type == o.type &&
155
- message == o.message &&
156
- status == o.status &&
157
148
  details == o.details &&
158
149
  instance == o.instance
159
150
  end
@@ -167,7 +158,7 @@ module FactPulse
167
158
  # Calculates hash code according to all attributes.
168
159
  # @return [Integer] Hash code
169
160
  def hash
170
- [type, message, status, details, instance].hash
161
+ [error_code, error_message, type, details, instance].hash
171
162
  end
172
163
 
173
164
  # Builds the object from hash
@@ -26,10 +26,10 @@ module FactPulse
26
26
 
27
27
  attr_accessor :facility_type
28
28
 
29
- attr_accessor :diffusible
30
-
31
29
  attr_accessor :administrative_status
32
30
 
31
+ attr_accessor :siret_instructions
32
+
33
33
  attr_accessor :address
34
34
 
35
35
  attr_accessor :b2g_additional_data
@@ -65,8 +65,8 @@ module FactPulse
65
65
  :'siren' => :'siren',
66
66
  :'name' => :'name',
67
67
  :'facility_type' => :'facilityType',
68
- :'diffusible' => :'diffusible',
69
68
  :'administrative_status' => :'administrativeStatus',
69
+ :'siret_instructions' => :'siretInstructions',
70
70
  :'address' => :'address',
71
71
  :'b2g_additional_data' => :'b2gAdditionalData',
72
72
  :'legal_unit' => :'legalUnit'
@@ -90,11 +90,11 @@ module FactPulse
90
90
  :'siren' => :'String',
91
91
  :'name' => :'String',
92
92
  :'facility_type' => :'AFNORFacilityType',
93
- :'diffusible' => :'AFNORDiffusionStatus',
94
93
  :'administrative_status' => :'AFNORFacilityAdministrativeStatus',
94
+ :'siret_instructions' => :'AFNORSiretInstructions',
95
95
  :'address' => :'AFNORAddressRead',
96
96
  :'b2g_additional_data' => :'AFNORFacilityPayloadHistoryUleB2gAdditionalData',
97
- :'legal_unit' => :'AFNORLegalUnitPayloadIncludedNoSiren'
97
+ :'legal_unit' => :'AFNORLegalUnitPayloadIncluded'
98
98
  }
99
99
  end
100
100
 
@@ -136,14 +136,14 @@ module FactPulse
136
136
  self.facility_type = attributes[:'facility_type']
137
137
  end
138
138
 
139
- if attributes.key?(:'diffusible')
140
- self.diffusible = attributes[:'diffusible']
141
- end
142
-
143
139
  if attributes.key?(:'administrative_status')
144
140
  self.administrative_status = attributes[:'administrative_status']
145
141
  end
146
142
 
143
+ if attributes.key?(:'siret_instructions')
144
+ self.siret_instructions = attributes[:'siret_instructions']
145
+ end
146
+
147
147
  if attributes.key?(:'address')
148
148
  self.address = attributes[:'address']
149
149
  end
@@ -260,8 +260,8 @@ module FactPulse
260
260
  siren == o.siren &&
261
261
  name == o.name &&
262
262
  facility_type == o.facility_type &&
263
- diffusible == o.diffusible &&
264
263
  administrative_status == o.administrative_status &&
264
+ siret_instructions == o.siret_instructions &&
265
265
  address == o.address &&
266
266
  b2g_additional_data == o.b2g_additional_data &&
267
267
  legal_unit == o.legal_unit
@@ -276,7 +276,7 @@ module FactPulse
276
276
  # Calculates hash code according to all attributes.
277
277
  # @return [Integer] Hash code
278
278
  def hash
279
- [siret, siren, name, facility_type, diffusible, administrative_status, address, b2g_additional_data, legal_unit].hash
279
+ [siret, siren, name, facility_type, administrative_status, siret_instructions, address, b2g_additional_data, legal_unit].hash
280
280
  end
281
281
 
282
282
  # Builds the object from hash
@@ -26,8 +26,6 @@ module FactPulse
26
26
 
27
27
  attr_accessor :facility_type
28
28
 
29
- attr_accessor :diffusible
30
-
31
29
  attr_accessor :administrative_status
32
30
 
33
31
  attr_accessor :address
@@ -63,7 +61,6 @@ module FactPulse
63
61
  :'siren' => :'siren',
64
62
  :'name' => :'name',
65
63
  :'facility_type' => :'facilityType',
66
- :'diffusible' => :'diffusible',
67
64
  :'administrative_status' => :'administrativeStatus',
68
65
  :'address' => :'address',
69
66
  :'b2g_additional_data' => :'b2gAdditionalData'
@@ -87,7 +84,6 @@ module FactPulse
87
84
  :'siren' => :'String',
88
85
  :'name' => :'String',
89
86
  :'facility_type' => :'AFNORFacilityType',
90
- :'diffusible' => :'AFNORDiffusionStatus',
91
87
  :'administrative_status' => :'AFNORFacilityAdministrativeStatus',
92
88
  :'address' => :'AFNORAddressRead',
93
89
  :'b2g_additional_data' => :'AFNORFacilityPayloadHistoryUleB2gAdditionalData'
@@ -132,10 +128,6 @@ module FactPulse
132
128
  self.facility_type = attributes[:'facility_type']
133
129
  end
134
130
 
135
- if attributes.key?(:'diffusible')
136
- self.diffusible = attributes[:'diffusible']
137
- end
138
-
139
131
  if attributes.key?(:'administrative_status')
140
132
  self.administrative_status = attributes[:'administrative_status']
141
133
  end
@@ -252,7 +244,6 @@ module FactPulse
252
244
  siren == o.siren &&
253
245
  name == o.name &&
254
246
  facility_type == o.facility_type &&
255
- diffusible == o.diffusible &&
256
247
  administrative_status == o.administrative_status &&
257
248
  address == o.address &&
258
249
  b2g_additional_data == o.b2g_additional_data
@@ -267,7 +258,7 @@ module FactPulse
267
258
  # Calculates hash code according to all attributes.
268
259
  # @return [Integer] Hash code
269
260
  def hash
270
- [siret, siren, name, facility_type, diffusible, administrative_status, address, b2g_additional_data].hash
261
+ [siret, siren, name, facility_type, administrative_status, address, b2g_additional_data].hash
271
262
  end
272
263
 
273
264
  # Builds the object from hash