dyspatch_client 4.0.0 → 5.0.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 (51) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +8 -8
  4. data/docs/DraftsApi.md +22 -22
  5. data/docs/LocalizationMetaRead.md +7 -5
  6. data/docs/LocalizationRead.md +5 -3
  7. data/docs/LocalizationsApi.md +3 -3
  8. data/docs/TemplatesApi.md +6 -6
  9. data/dyspatch_client.gemspec +4 -4
  10. data/lib/dyspatch_client.rb +3 -3
  11. data/lib/dyspatch_client/api/drafts_api.rb +28 -26
  12. data/lib/dyspatch_client/api/localizations_api.rb +7 -7
  13. data/lib/dyspatch_client/api/templates_api.rb +10 -10
  14. data/lib/dyspatch_client/api_client.rb +3 -3
  15. data/lib/dyspatch_client/api_error.rb +3 -3
  16. data/lib/dyspatch_client/configuration.rb +3 -3
  17. data/lib/dyspatch_client/models/api_error.rb +3 -3
  18. data/lib/dyspatch_client/models/compiled_read.rb +3 -3
  19. data/lib/dyspatch_client/models/cursor.rb +3 -3
  20. data/lib/dyspatch_client/models/draft_meta_read.rb +3 -3
  21. data/lib/dyspatch_client/models/draft_read.rb +3 -3
  22. data/lib/dyspatch_client/models/drafts_read.rb +3 -3
  23. data/lib/dyspatch_client/models/inline_object.rb +3 -3
  24. data/lib/dyspatch_client/models/localization_key_read.rb +3 -3
  25. data/lib/dyspatch_client/models/localization_meta_read.rb +35 -23
  26. data/lib/dyspatch_client/models/localization_read.rb +26 -14
  27. data/lib/dyspatch_client/models/template_meta_read.rb +3 -3
  28. data/lib/dyspatch_client/models/template_read.rb +3 -3
  29. data/lib/dyspatch_client/models/templates_read.rb +3 -3
  30. data/lib/dyspatch_client/version.rb +4 -4
  31. data/spec/api/drafts_api_spec.rb +11 -11
  32. data/spec/api/localizations_api_spec.rb +3 -3
  33. data/spec/api/templates_api_spec.rb +4 -4
  34. data/spec/api_client_spec.rb +2 -2
  35. data/spec/configuration_spec.rb +13 -11
  36. data/spec/integration_spec.rb +1 -1
  37. data/spec/models/api_error_spec.rb +2 -2
  38. data/spec/models/compiled_read_spec.rb +2 -2
  39. data/spec/models/cursor_spec.rb +2 -2
  40. data/spec/models/draft_meta_read_spec.rb +2 -2
  41. data/spec/models/draft_read_spec.rb +2 -2
  42. data/spec/models/drafts_read_spec.rb +2 -2
  43. data/spec/models/inline_object_spec.rb +2 -2
  44. data/spec/models/localization_key_read_spec.rb +2 -2
  45. data/spec/models/localization_meta_read_spec.rb +12 -6
  46. data/spec/models/localization_read_spec.rb +9 -3
  47. data/spec/models/template_meta_read_spec.rb +2 -2
  48. data/spec/models/template_read_spec.rb +2 -2
  49. data/spec/models/templates_read_spec.rb +2 -2
  50. data/spec/spec_helper.rb +2 -2
  51. metadata +10 -10
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Dyspatch API
3
3
 
4
- ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
4
+ ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
5
5
 
6
- The version of the OpenAPI document: 2019.10
6
+ The version of the OpenAPI document: 2020.04
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -23,7 +23,7 @@ module DyspatchClient
23
23
  # Returns a specific localization object with a matching ID
24
24
  # @param localization_id [String] A localization ID
25
25
  # @param target_language [String] The type of templating language to compile as. Should only be used for visual templates.
26
- # @param accept [String] A version of the API that should be used for the request. For example, to use version \"2019.10\", set the value to \"application/vnd.dyspatch.2019.10+json\"
26
+ # @param accept [String] A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\"
27
27
  # @param [Hash] opts the optional parameters
28
28
  # @return [LocalizationRead]
29
29
  def get_localization_by_id(localization_id, target_language, accept, opts = {})
@@ -35,7 +35,7 @@ module DyspatchClient
35
35
  # Returns a specific localization object with a matching ID
36
36
  # @param localization_id [String] A localization ID
37
37
  # @param target_language [String] The type of templating language to compile as. Should only be used for visual templates.
38
- # @param accept [String] A version of the API that should be used for the request. For example, to use version \"2019.10\", set the value to \"application/vnd.dyspatch.2019.10+json\"
38
+ # @param accept [String] A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\"
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @return [Array<(LocalizationRead, Integer, Hash)>] LocalizationRead data, response status code and response headers
41
41
  def get_localization_by_id_with_http_info(localization_id, target_language, accept, opts = {})
@@ -51,7 +51,7 @@ module DyspatchClient
51
51
  fail ArgumentError, "Missing the required parameter 'target_language' when calling LocalizationsApi.get_localization_by_id"
52
52
  end
53
53
  # verify enum value
54
- allowable_values = ["html", "handlebars", "ampscript", "freemarker", "cheetah"]
54
+ allowable_values = ["html", "handlebars", "ampscript", "freemarker", "cheetah", "jinja"]
55
55
  if @api_client.config.client_side_validation && !allowable_values.include?(target_language)
56
56
  fail ArgumentError, "invalid value for \"target_language\", must be one of #{allowable_values}"
57
57
  end
@@ -69,7 +69,7 @@ module DyspatchClient
69
69
  # header parameters
70
70
  header_params = opts[:header_params] || {}
71
71
  # HTTP header 'Accept' (if needed)
72
- header_params['Accept'] = @api_client.select_header_accept(['application/vnd.dyspatch.2019.10+json', '*/*'])
72
+ header_params['Accept'] = @api_client.select_header_accept(['application/vnd.dyspatch.2020.04+json', '*/*'])
73
73
  header_params[:'Accept'] = accept
74
74
 
75
75
  # form parameters
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Dyspatch API
3
3
 
4
- ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
4
+ ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
5
5
 
6
- The version of the OpenAPI document: 2019.10
6
+ The version of the OpenAPI document: 2020.04
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -23,7 +23,7 @@ module DyspatchClient
23
23
  # Gets a template object with the matching ID. If the template has published content the \"compiled\" field will contain the template .
24
24
  # @param template_id [String] A template ID
25
25
  # @param target_language [String] The type of templating language to compile as. Should only be used for visual templates.
26
- # @param accept [String] A version of the API that should be used for the request. For example, to use version \&quot;2019.10\&quot;, set the value to \&quot;application/vnd.dyspatch.2019.10+json\&quot;
26
+ # @param accept [String] A version of the API that should be used for the request. For example, to use version \&quot;2020.04\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.04+json\&quot;
27
27
  # @param [Hash] opts the optional parameters
28
28
  # @return [TemplateRead]
29
29
  def get_template_by_id(template_id, target_language, accept, opts = {})
@@ -35,7 +35,7 @@ module DyspatchClient
35
35
  # Gets a template object with the matching ID. If the template has published content the \&quot;compiled\&quot; field will contain the template .
36
36
  # @param template_id [String] A template ID
37
37
  # @param target_language [String] The type of templating language to compile as. Should only be used for visual templates.
38
- # @param accept [String] A version of the API that should be used for the request. For example, to use version \&quot;2019.10\&quot;, set the value to \&quot;application/vnd.dyspatch.2019.10+json\&quot;
38
+ # @param accept [String] A version of the API that should be used for the request. For example, to use version \&quot;2020.04\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.04+json\&quot;
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @return [Array<(TemplateRead, Integer, Hash)>] TemplateRead data, response status code and response headers
41
41
  def get_template_by_id_with_http_info(template_id, target_language, accept, opts = {})
@@ -51,7 +51,7 @@ module DyspatchClient
51
51
  fail ArgumentError, "Missing the required parameter 'target_language' when calling TemplatesApi.get_template_by_id"
52
52
  end
53
53
  # verify enum value
54
- allowable_values = ["html", "handlebars", "ampscript", "freemarker", "cheetah"]
54
+ allowable_values = ["html", "handlebars", "ampscript", "freemarker", "cheetah", "jinja"]
55
55
  if @api_client.config.client_side_validation && !allowable_values.include?(target_language)
56
56
  fail ArgumentError, "invalid value for \"target_language\", must be one of #{allowable_values}"
57
57
  end
@@ -69,7 +69,7 @@ module DyspatchClient
69
69
  # header parameters
70
70
  header_params = opts[:header_params] || {}
71
71
  # HTTP header 'Accept' (if needed)
72
- header_params['Accept'] = @api_client.select_header_accept(['application/vnd.dyspatch.2019.10+json', '*/*'])
72
+ header_params['Accept'] = @api_client.select_header_accept(['application/vnd.dyspatch.2020.04+json', '*/*'])
73
73
  header_params[:'Accept'] = accept
74
74
 
75
75
  # form parameters
@@ -102,7 +102,7 @@ module DyspatchClient
102
102
 
103
103
  # List Templates
104
104
  # Gets a list of Template Metadata objects for all templates. Up to 25 results returned before results are paginated.
105
- # @param accept [String] A version of the API that should be used for the request. For example, to use version \&quot;2019.10\&quot;, set the value to \&quot;application/vnd.dyspatch.2019.10+json\&quot;
105
+ # @param accept [String] A version of the API that should be used for the request. For example, to use version \&quot;2020.04\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.04+json\&quot;
106
106
  # @param [Hash] opts the optional parameters
107
107
  # @option opts [String] :cursor A cursor value used to retrieve a specific page from a paginated result set.
108
108
  # @return [TemplatesRead]
@@ -113,7 +113,7 @@ module DyspatchClient
113
113
 
114
114
  # List Templates
115
115
  # Gets a list of Template Metadata objects for all templates. Up to 25 results returned before results are paginated.
116
- # @param accept [String] A version of the API that should be used for the request. For example, to use version \&quot;2019.10\&quot;, set the value to \&quot;application/vnd.dyspatch.2019.10+json\&quot;
116
+ # @param accept [String] A version of the API that should be used for the request. For example, to use version \&quot;2020.04\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.04+json\&quot;
117
117
  # @param [Hash] opts the optional parameters
118
118
  # @option opts [String] :cursor A cursor value used to retrieve a specific page from a paginated result set.
119
119
  # @return [Array<(TemplatesRead, Integer, Hash)>] TemplatesRead data, response status code and response headers
@@ -135,7 +135,7 @@ module DyspatchClient
135
135
  # header parameters
136
136
  header_params = opts[:header_params] || {}
137
137
  # HTTP header 'Accept' (if needed)
138
- header_params['Accept'] = @api_client.select_header_accept(['application/vnd.dyspatch.2019.10+json', '*/*'])
138
+ header_params['Accept'] = @api_client.select_header_accept(['application/vnd.dyspatch.2020.04+json', '*/*'])
139
139
  header_params[:'Accept'] = accept
140
140
 
141
141
  # form parameters
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Dyspatch API
3
3
 
4
- ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
4
+ ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
5
5
 
6
- The version of the OpenAPI document: 2019.10
6
+ The version of the OpenAPI document: 2020.04
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Dyspatch API
3
3
 
4
- ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
4
+ ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
5
5
 
6
- The version of the OpenAPI document: 2019.10
6
+ The version of the OpenAPI document: 2020.04
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Dyspatch API
3
3
 
4
- ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
4
+ ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
5
5
 
6
- The version of the OpenAPI document: 2019.10
6
+ The version of the OpenAPI document: 2020.04
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Dyspatch API
3
3
 
4
- ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
4
+ ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
5
5
 
6
- The version of the OpenAPI document: 2019.10
6
+ The version of the OpenAPI document: 2020.04
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Dyspatch API
3
3
 
4
- ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
4
+ ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
5
5
 
6
- The version of the OpenAPI document: 2019.10
6
+ The version of the OpenAPI document: 2020.04
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Dyspatch API
3
3
 
4
- ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
4
+ ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
5
5
 
6
- The version of the OpenAPI document: 2019.10
6
+ The version of the OpenAPI document: 2020.04
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Dyspatch API
3
3
 
4
- ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
4
+ ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
5
5
 
6
- The version of the OpenAPI document: 2019.10
6
+ The version of the OpenAPI document: 2020.04
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Dyspatch API
3
3
 
4
- ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
4
+ ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
5
5
 
6
- The version of the OpenAPI document: 2019.10
6
+ The version of the OpenAPI document: 2020.04
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Dyspatch API
3
3
 
4
- ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
4
+ ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
5
5
 
6
- The version of the OpenAPI document: 2019.10
6
+ The version of the OpenAPI document: 2020.04
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Dyspatch API
3
3
 
4
- ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
4
+ ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
5
5
 
6
- The version of the OpenAPI document: 2019.10
6
+ The version of the OpenAPI document: 2020.04
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Dyspatch API
3
3
 
4
- ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
4
+ ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
5
5
 
6
- The version of the OpenAPI document: 2019.10
6
+ The version of the OpenAPI document: 2020.04
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Dyspatch API
3
3
 
4
- ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
4
+ ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
5
5
 
6
- The version of the OpenAPI document: 2019.10
6
+ The version of the OpenAPI document: 2020.04
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -16,10 +16,7 @@ module DyspatchClient
16
16
  # localization metadata
17
17
  class LocalizationMetaRead
18
18
  # An opaque, unique identifier for a localization
19
- attr_accessor :localization
20
-
21
- # A language identifier comprised of a language and a country identifier. See [supported languages](https://docs.dyspatch.io/localization/supported_languages/).
22
- attr_accessor :language
19
+ attr_accessor :id
23
20
 
24
21
  # The user-specified name of a localization
25
22
  attr_accessor :name
@@ -27,23 +24,31 @@ module DyspatchClient
27
24
  # The API url for a specific localization
28
25
  attr_accessor :url
29
26
 
27
+ # the locale group this localization belongs to, if this field is empty the localization does not belong to any locale group
28
+ attr_accessor :locale_group
29
+
30
+ # a list of locale codes that are available in the localization. See [supported languages](https://docs.dyspatch.io/localization/supported_languages/) for an exhaustive list of locale codes.
31
+ attr_accessor :languages
32
+
30
33
  # Attribute mapping from ruby-style variable name to JSON key.
31
34
  def self.attribute_map
32
35
  {
33
- :'localization' => :'localization',
34
- :'language' => :'language',
36
+ :'id' => :'id',
35
37
  :'name' => :'name',
36
- :'url' => :'url'
38
+ :'url' => :'url',
39
+ :'locale_group' => :'localeGroup',
40
+ :'languages' => :'languages'
37
41
  }
38
42
  end
39
43
 
40
44
  # Attribute type mapping.
41
45
  def self.openapi_types
42
46
  {
43
- :'localization' => :'String',
44
- :'language' => :'String',
47
+ :'id' => :'String',
45
48
  :'name' => :'String',
46
- :'url' => :'String'
49
+ :'url' => :'String',
50
+ :'locale_group' => :'String',
51
+ :'languages' => :'Array<String>'
47
52
  }
48
53
  end
49
54
 
@@ -68,12 +73,8 @@ module DyspatchClient
68
73
  h[k.to_sym] = v
69
74
  }
70
75
 
71
- if attributes.key?(:'localization')
72
- self.localization = attributes[:'localization']
73
- end
74
-
75
- if attributes.key?(:'language')
76
- self.language = attributes[:'language']
76
+ if attributes.key?(:'id')
77
+ self.id = attributes[:'id']
77
78
  end
78
79
 
79
80
  if attributes.key?(:'name')
@@ -83,6 +84,16 @@ module DyspatchClient
83
84
  if attributes.key?(:'url')
84
85
  self.url = attributes[:'url']
85
86
  end
87
+
88
+ if attributes.key?(:'locale_group')
89
+ self.locale_group = attributes[:'locale_group']
90
+ end
91
+
92
+ if attributes.key?(:'languages')
93
+ if (value = attributes[:'languages']).is_a?(Array)
94
+ self.languages = value
95
+ end
96
+ end
86
97
  end
87
98
 
88
99
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -103,10 +114,11 @@ module DyspatchClient
103
114
  def ==(o)
104
115
  return true if self.equal?(o)
105
116
  self.class == o.class &&
106
- localization == o.localization &&
107
- language == o.language &&
117
+ id == o.id &&
108
118
  name == o.name &&
109
- url == o.url
119
+ url == o.url &&
120
+ locale_group == o.locale_group &&
121
+ languages == o.languages
110
122
  end
111
123
 
112
124
  # @see the `==` method
@@ -118,7 +130,7 @@ module DyspatchClient
118
130
  # Calculates hash code according to all attributes.
119
131
  # @return [Integer] Hash code
120
132
  def hash
121
- [localization, language, name, url].hash
133
+ [id, name, url, locale_group, languages].hash
122
134
  end
123
135
 
124
136
  # Builds the object from hash
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Dyspatch API
3
3
 
4
- ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
4
+ ## Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby)
5
5
 
6
- The version of the OpenAPI document: 2019.10
6
+ The version of the OpenAPI document: 2020.04
7
7
  Contact: support@dyspatch.io
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -18,8 +18,8 @@ module DyspatchClient
18
18
  # An opaque, unique identifier for a localization
19
19
  attr_accessor :id
20
20
 
21
- # A language identifier comprised of a language and a country identifier. See [supported languages](https://docs.dyspatch.io/localization/supported_languages/).
22
- attr_accessor :language
21
+ # a list of locale codes that are available in the localization. See [supported languages](https://docs.dyspatch.io/localization/supported_languages/) for an exhaustive list of locale codes.
22
+ attr_accessor :languages
23
23
 
24
24
  # The API url for a specific localization
25
25
  attr_accessor :url
@@ -38,17 +38,21 @@ module DyspatchClient
38
38
  # The user-specified name of a localization
39
39
  attr_accessor :name
40
40
 
41
+ # the locale group this localization belongs to, if this field is empty the localization does not belong to any locale group
42
+ attr_accessor :locale_group
43
+
41
44
  # Attribute mapping from ruby-style variable name to JSON key.
42
45
  def self.attribute_map
43
46
  {
44
47
  :'id' => :'id',
45
- :'language' => :'language',
48
+ :'languages' => :'languages',
46
49
  :'url' => :'url',
47
50
  :'template' => :'template',
48
51
  :'compiled' => :'compiled',
49
52
  :'created_at' => :'createdAt',
50
53
  :'updated_at' => :'updatedAt',
51
- :'name' => :'name'
54
+ :'name' => :'name',
55
+ :'locale_group' => :'localeGroup'
52
56
  }
53
57
  end
54
58
 
@@ -56,13 +60,14 @@ module DyspatchClient
56
60
  def self.openapi_types
57
61
  {
58
62
  :'id' => :'String',
59
- :'language' => :'String',
63
+ :'languages' => :'Array<String>',
60
64
  :'url' => :'String',
61
65
  :'template' => :'String',
62
66
  :'compiled' => :'CompiledRead',
63
67
  :'created_at' => :'DateTime',
64
68
  :'updated_at' => :'DateTime',
65
- :'name' => :'String'
69
+ :'name' => :'String',
70
+ :'locale_group' => :'String'
66
71
  }
67
72
  end
68
73
 
@@ -91,8 +96,10 @@ module DyspatchClient
91
96
  self.id = attributes[:'id']
92
97
  end
93
98
 
94
- if attributes.key?(:'language')
95
- self.language = attributes[:'language']
99
+ if attributes.key?(:'languages')
100
+ if (value = attributes[:'languages']).is_a?(Array)
101
+ self.languages = value
102
+ end
96
103
  end
97
104
 
98
105
  if attributes.key?(:'url')
@@ -118,6 +125,10 @@ module DyspatchClient
118
125
  if attributes.key?(:'name')
119
126
  self.name = attributes[:'name']
120
127
  end
128
+
129
+ if attributes.key?(:'locale_group')
130
+ self.locale_group = attributes[:'locale_group']
131
+ end
121
132
  end
122
133
 
123
134
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -139,13 +150,14 @@ module DyspatchClient
139
150
  return true if self.equal?(o)
140
151
  self.class == o.class &&
141
152
  id == o.id &&
142
- language == o.language &&
153
+ languages == o.languages &&
143
154
  url == o.url &&
144
155
  template == o.template &&
145
156
  compiled == o.compiled &&
146
157
  created_at == o.created_at &&
147
158
  updated_at == o.updated_at &&
148
- name == o.name
159
+ name == o.name &&
160
+ locale_group == o.locale_group
149
161
  end
150
162
 
151
163
  # @see the `==` method
@@ -157,7 +169,7 @@ module DyspatchClient
157
169
  # Calculates hash code according to all attributes.
158
170
  # @return [Integer] Hash code
159
171
  def hash
160
- [id, language, url, template, compiled, created_at, updated_at, name].hash
172
+ [id, languages, url, template, compiled, created_at, updated_at, name, locale_group].hash
161
173
  end
162
174
 
163
175
  # Builds the object from hash