moonlogs-ruby 1.2.10 → 1.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 (49) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +35 -5
  3. data/docs/DefaultApi.md +94 -0
  4. data/docs/RecordRequest.md +2 -0
  5. data/docs/RecordResponse.md +2 -0
  6. data/lib/moonlogs-ruby/api/default_api.rb +105 -1
  7. data/lib/moonlogs-ruby/api_client.rb +1 -1
  8. data/lib/moonlogs-ruby/api_error.rb +1 -1
  9. data/lib/moonlogs-ruby/configuration.rb +1 -1
  10. data/lib/moonlogs-ruby/models/api_token_request.rb +1 -1
  11. data/lib/moonlogs-ruby/models/api_token_response.rb +1 -1
  12. data/lib/moonlogs-ruby/models/credentials.rb +1 -1
  13. data/lib/moonlogs-ruby/models/inline_response_200.rb +1 -1
  14. data/lib/moonlogs-ruby/models/inline_response_200_1.rb +1 -1
  15. data/lib/moonlogs-ruby/models/inline_response_200_10.rb +1 -1
  16. data/lib/moonlogs-ruby/models/inline_response_200_11.rb +1 -1
  17. data/lib/moonlogs-ruby/models/inline_response_200_12.rb +1 -1
  18. data/lib/moonlogs-ruby/models/inline_response_200_13.rb +1 -1
  19. data/lib/moonlogs-ruby/models/inline_response_200_14.rb +1 -1
  20. data/lib/moonlogs-ruby/models/inline_response_200_2.rb +1 -1
  21. data/lib/moonlogs-ruby/models/inline_response_200_3.rb +1 -1
  22. data/lib/moonlogs-ruby/models/inline_response_200_4.rb +1 -1
  23. data/lib/moonlogs-ruby/models/inline_response_200_5.rb +1 -1
  24. data/lib/moonlogs-ruby/models/inline_response_200_6.rb +1 -1
  25. data/lib/moonlogs-ruby/models/inline_response_200_7.rb +1 -1
  26. data/lib/moonlogs-ruby/models/inline_response_200_8.rb +1 -1
  27. data/lib/moonlogs-ruby/models/inline_response_200_9.rb +1 -1
  28. data/lib/moonlogs-ruby/models/level.rb +1 -1
  29. data/lib/moonlogs-ruby/models/meta.rb +1 -1
  30. data/lib/moonlogs-ruby/models/one_of_record_request_level.rb +1 -1
  31. data/lib/moonlogs-ruby/models/one_of_record_response_level.rb +1 -1
  32. data/lib/moonlogs-ruby/models/one_of_user_request_role.rb +1 -1
  33. data/lib/moonlogs-ruby/models/one_of_user_response_role.rb +1 -1
  34. data/lib/moonlogs-ruby/models/record_request.rb +20 -2
  35. data/lib/moonlogs-ruby/models/record_response.rb +30 -2
  36. data/lib/moonlogs-ruby/models/role.rb +1 -1
  37. data/lib/moonlogs-ruby/models/schema_field.rb +1 -1
  38. data/lib/moonlogs-ruby/models/schema_kind.rb +1 -1
  39. data/lib/moonlogs-ruby/models/schema_request.rb +1 -1
  40. data/lib/moonlogs-ruby/models/schema_response.rb +1 -1
  41. data/lib/moonlogs-ruby/models/session.rb +1 -1
  42. data/lib/moonlogs-ruby/models/tag_request.rb +1 -1
  43. data/lib/moonlogs-ruby/models/tag_response.rb +1 -1
  44. data/lib/moonlogs-ruby/models/user_request.rb +1 -1
  45. data/lib/moonlogs-ruby/models/user_response.rb +1 -1
  46. data/lib/moonlogs-ruby/version.rb +2 -2
  47. data/lib/moonlogs-ruby.rb +1 -1
  48. data/moonlogs-ruby.gemspec +1 -1
  49. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4aa5de7cebe90624a9e24e8381d6c457ad07da2d1fca4ed4a71b3737a5e9bfbc
4
- data.tar.gz: 8076c09fde7d8cd4c8b6eba0667bff2aecde57dd927658ba60231f8146ec2f20
3
+ metadata.gz: fd653b275e0eceace134fd9eabae54f4e64c3125c6ae4ca1cd5cb56c87b9ff64
4
+ data.tar.gz: b91cccc4f8472f8de29d7c0e9486f26e1f63b7a168477eaaf73be2a4d37777a1
5
5
  SHA512:
6
- metadata.gz: 29a103c4d58494f9028e88ca15373773179929fbed13a9e5dd9dbcb67e0f8c874ed32a43d5ab4a73ac074731c7fe804ed42fa214635ce9d4afdbf91d56b77fb3
7
- data.tar.gz: 3f801212b6ec7fa5adfbf4331bfd6848960671a3f8dc76f46f8faf43110112abb2d6b7ce05c6b9bbadce46339318908970c47539826b35f5fc298238592467cb
6
+ metadata.gz: e3cb4564889b101a69da48c9a37ac833faf8426e249d1ca551f630b90078ce37acf5a6b2b80cb870c980c7449aafcf62ecc1c74c07c3b88fa350068f43043b4c
7
+ data.tar.gz: 4f839b07e8f28c128ae419a8d3898518140318066d963bc88aa388f387d9467f5ead9102b76bee672e48c19c8b57f6e5a2663b90d4766443122602f46ce3b31d
data/README.md CHANGED
@@ -6,8 +6,8 @@ Moonlogs API
6
6
 
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
- - API version: 1.2.10
10
- - Package version: 1.2.10
9
+ - API version: 1.3.0
10
+ - Package version: 1.3.0
11
11
  - Build package: io.swagger.codegen.v3.generators.ruby.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,15 +23,15 @@ gem build moonlogs-ruby.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./moonlogs-ruby-1.2.10.gem
26
+ gem install ./moonlogs-ruby-1.3.0.gem
27
27
  ```
28
- (for development, run `gem install --dev ./moonlogs-ruby-1.2.10.gem` to install the development dependencies)
28
+ (for development, run `gem install --dev ./moonlogs-ruby-1.3.0.gem` to install the development dependencies)
29
29
 
30
30
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
31
31
 
32
32
  Finally add this to the Gemfile:
33
33
 
34
- gem 'moonlogs-ruby', '~> 1.2.10'
34
+ gem 'moonlogs-ruby', '~> 1.3.0'
35
35
 
36
36
  ### Install from Git
37
37
 
@@ -245,6 +245,34 @@ end
245
245
  MoonlogsRuby.configure do |config|
246
246
  end
247
247
 
248
+ api_instance = MoonlogsRuby::DefaultApi.new
249
+ id = 56 # Integer |
250
+
251
+
252
+ begin
253
+ result = api_instance.get_log_request_by_id(id)
254
+ p result
255
+ rescue MoonlogsRuby::ApiError => e
256
+ puts "Exception when calling DefaultApi->get_log_request_by_id: #{e}"
257
+ end
258
+ # Setup authorization
259
+ MoonlogsRuby.configure do |config|
260
+ end
261
+
262
+ api_instance = MoonlogsRuby::DefaultApi.new
263
+ id = 56 # Integer |
264
+
265
+
266
+ begin
267
+ result = api_instance.get_log_response_by_id(id)
268
+ p result
269
+ rescue MoonlogsRuby::ApiError => e
270
+ puts "Exception when calling DefaultApi->get_log_response_by_id: #{e}"
271
+ end
272
+ # Setup authorization
273
+ MoonlogsRuby.configure do |config|
274
+ end
275
+
248
276
  api_instance = MoonlogsRuby::DefaultApi.new
249
277
  schema_name = 'schema_name_example' # String |
250
278
  hash = 'hash_example' # String |
@@ -485,6 +513,8 @@ Class | Method | HTTP request | Description
485
513
  *MoonlogsRuby::DefaultApi* | [**delete_user_by_id**](docs/DefaultApi.md#delete_user_by_id) | **DELETE** /api/users/{id} |
486
514
  *MoonlogsRuby::DefaultApi* | [**get_log**](docs/DefaultApi.md#get_log) | **GET** /api/logs |
487
515
  *MoonlogsRuby::DefaultApi* | [**get_log_by_id**](docs/DefaultApi.md#get_log_by_id) | **GET** /api/logs/{id} |
516
+ *MoonlogsRuby::DefaultApi* | [**get_log_request_by_id**](docs/DefaultApi.md#get_log_request_by_id) | **GET** /api/logs/{id}/request |
517
+ *MoonlogsRuby::DefaultApi* | [**get_log_response_by_id**](docs/DefaultApi.md#get_log_response_by_id) | **GET** /api/logs/{id}/response |
488
518
  *MoonlogsRuby::DefaultApi* | [**get_logs_by_schema_and_hash**](docs/DefaultApi.md#get_logs_by_schema_and_hash) | **GET** /api/logs/group/{schema_name}/{hash} |
489
519
  *MoonlogsRuby::DefaultApi* | [**get_schema_by_id**](docs/DefaultApi.md#get_schema_by_id) | **GET** /api/schemas/{id} |
490
520
  *MoonlogsRuby::DefaultApi* | [**get_schemas**](docs/DefaultApi.md#get_schemas) | **GET** /api/schemas |
data/docs/DefaultApi.md CHANGED
@@ -17,6 +17,8 @@ Method | HTTP request | Description
17
17
  [**delete_user_by_id**](DefaultApi.md#delete_user_by_id) | **DELETE** /api/users/{id} |
18
18
  [**get_log**](DefaultApi.md#get_log) | **GET** /api/logs |
19
19
  [**get_log_by_id**](DefaultApi.md#get_log_by_id) | **GET** /api/logs/{id} |
20
+ [**get_log_request_by_id**](DefaultApi.md#get_log_request_by_id) | **GET** /api/logs/{id}/request |
21
+ [**get_log_response_by_id**](DefaultApi.md#get_log_response_by_id) | **GET** /api/logs/{id}/response |
20
22
  [**get_logs_by_schema_and_hash**](DefaultApi.md#get_logs_by_schema_and_hash) | **GET** /api/logs/group/{schema_name}/{hash} |
21
23
  [**get_schema_by_id**](DefaultApi.md#get_schema_by_id) | **GET** /api/schemas/{id} |
22
24
  [**get_schemas**](DefaultApi.md#get_schemas) | **GET** /api/schemas |
@@ -639,6 +641,98 @@ Name | Type | Description | Notes
639
641
 
640
642
 
641
643
 
644
+ # **get_log_request_by_id**
645
+ > Object get_log_request_by_id(id)
646
+
647
+
648
+
649
+ ### Example
650
+ ```ruby
651
+ # load the gem
652
+ require 'moonlogs-ruby'
653
+ # setup authorization
654
+ MoonlogsRuby.configure do |config|
655
+ end
656
+
657
+ api_instance = MoonlogsRuby::DefaultApi.new
658
+ id = 56 # Integer |
659
+
660
+
661
+ begin
662
+ result = api_instance.get_log_request_by_id(id)
663
+ p result
664
+ rescue MoonlogsRuby::ApiError => e
665
+ puts "Exception when calling DefaultApi->get_log_request_by_id: #{e}"
666
+ end
667
+ ```
668
+
669
+ ### Parameters
670
+
671
+ Name | Type | Description | Notes
672
+ ------------- | ------------- | ------------- | -------------
673
+ **id** | **Integer**| |
674
+
675
+ ### Return type
676
+
677
+ **Object**
678
+
679
+ ### Authorization
680
+
681
+ [http1](../README.md#http1)
682
+
683
+ ### HTTP request headers
684
+
685
+ - **Content-Type**: Not defined
686
+ - **Accept**: application/json
687
+
688
+
689
+
690
+ # **get_log_response_by_id**
691
+ > Object get_log_response_by_id(id)
692
+
693
+
694
+
695
+ ### Example
696
+ ```ruby
697
+ # load the gem
698
+ require 'moonlogs-ruby'
699
+ # setup authorization
700
+ MoonlogsRuby.configure do |config|
701
+ end
702
+
703
+ api_instance = MoonlogsRuby::DefaultApi.new
704
+ id = 56 # Integer |
705
+
706
+
707
+ begin
708
+ result = api_instance.get_log_response_by_id(id)
709
+ p result
710
+ rescue MoonlogsRuby::ApiError => e
711
+ puts "Exception when calling DefaultApi->get_log_response_by_id: #{e}"
712
+ end
713
+ ```
714
+
715
+ ### Parameters
716
+
717
+ Name | Type | Description | Notes
718
+ ------------- | ------------- | ------------- | -------------
719
+ **id** | **Integer**| |
720
+
721
+ ### Return type
722
+
723
+ **Object**
724
+
725
+ ### Authorization
726
+
727
+ [http1](../README.md#http1)
728
+
729
+ ### HTTP request headers
730
+
731
+ - **Content-Type**: Not defined
732
+ - **Accept**: application/json
733
+
734
+
735
+
642
736
  # **get_logs_by_schema_and_hash**
643
737
  > InlineResponse2003 get_logs_by_schema_and_hash(schema_name, hash)
644
738
 
@@ -7,6 +7,8 @@ Name | Type | Description | Notes
7
7
  **schema_name** | **String** | |
8
8
  **schema_id** | **Integer** | | [optional]
9
9
  **query** | **Object** | |
10
+ **request** | **Object** | | [optional]
11
+ **response** | **Object** | | [optional]
10
12
  **kind** | **String** | | [optional]
11
13
  **level** | [**OneOfRecordRequestLevel**](OneOfRecordRequestLevel.md) | | [optional]
12
14
 
@@ -8,6 +8,8 @@ Name | Type | Description | Notes
8
8
  **schema_name** | **String** | |
9
9
  **schema_id** | **Integer** | |
10
10
  **query** | **Object** | |
11
+ **request** | **Object** | |
12
+ **response** | **Object** | |
11
13
  **kind** | **String** | |
12
14
  **created_at** | **String** | |
13
15
  **group_hash** | **String** | |
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -678,6 +678,110 @@ module MoonlogsRuby
678
678
  end
679
679
  return data, status_code, headers
680
680
  end
681
+ # @param id
682
+ # @param [Hash] opts the optional parameters
683
+ # @return [Object]
684
+ def get_log_request_by_id(id, opts = {})
685
+ data, _status_code, _headers = get_log_request_by_id_with_http_info(id, opts)
686
+ data
687
+ end
688
+
689
+ # @param id
690
+ # @param [Hash] opts the optional parameters
691
+ # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
692
+ def get_log_request_by_id_with_http_info(id, opts = {})
693
+ if @api_client.config.debugging
694
+ @api_client.config.logger.debug 'Calling API: DefaultApi.get_log_request_by_id ...'
695
+ end
696
+ # verify the required parameter 'id' is set
697
+ if @api_client.config.client_side_validation && id.nil?
698
+ fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.get_log_request_by_id"
699
+ end
700
+ # resource path
701
+ local_var_path = '/api/logs/{id}/request'.sub('{' + 'id' + '}', id.to_s)
702
+
703
+ # query parameters
704
+ query_params = opts[:query_params] || {}
705
+
706
+ # header parameters
707
+ header_params = opts[:header_params] || {}
708
+ # HTTP header 'Accept' (if needed)
709
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
710
+
711
+ # form parameters
712
+ form_params = opts[:form_params] || {}
713
+
714
+ # http body (model)
715
+ post_body = opts[:body]
716
+
717
+ return_type = opts[:return_type] || 'Object'
718
+
719
+ auth_names = opts[:auth_names] || ['http1']
720
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
721
+ :header_params => header_params,
722
+ :query_params => query_params,
723
+ :form_params => form_params,
724
+ :body => post_body,
725
+ :auth_names => auth_names,
726
+ :return_type => return_type)
727
+
728
+ if @api_client.config.debugging
729
+ @api_client.config.logger.debug "API called: DefaultApi#get_log_request_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
730
+ end
731
+ return data, status_code, headers
732
+ end
733
+ # @param id
734
+ # @param [Hash] opts the optional parameters
735
+ # @return [Object]
736
+ def get_log_response_by_id(id, opts = {})
737
+ data, _status_code, _headers = get_log_response_by_id_with_http_info(id, opts)
738
+ data
739
+ end
740
+
741
+ # @param id
742
+ # @param [Hash] opts the optional parameters
743
+ # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
744
+ def get_log_response_by_id_with_http_info(id, opts = {})
745
+ if @api_client.config.debugging
746
+ @api_client.config.logger.debug 'Calling API: DefaultApi.get_log_response_by_id ...'
747
+ end
748
+ # verify the required parameter 'id' is set
749
+ if @api_client.config.client_side_validation && id.nil?
750
+ fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.get_log_response_by_id"
751
+ end
752
+ # resource path
753
+ local_var_path = '/api/logs/{id}/response'.sub('{' + 'id' + '}', id.to_s)
754
+
755
+ # query parameters
756
+ query_params = opts[:query_params] || {}
757
+
758
+ # header parameters
759
+ header_params = opts[:header_params] || {}
760
+ # HTTP header 'Accept' (if needed)
761
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
762
+
763
+ # form parameters
764
+ form_params = opts[:form_params] || {}
765
+
766
+ # http body (model)
767
+ post_body = opts[:body]
768
+
769
+ return_type = opts[:return_type] || 'Object'
770
+
771
+ auth_names = opts[:auth_names] || ['http1']
772
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
773
+ :header_params => header_params,
774
+ :query_params => query_params,
775
+ :form_params => form_params,
776
+ :body => post_body,
777
+ :auth_names => auth_names,
778
+ :return_type => return_type)
779
+
780
+ if @api_client.config.debugging
781
+ @api_client.config.logger.debug "API called: DefaultApi#get_log_response_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
782
+ end
783
+ return data, status_code, headers
784
+ end
681
785
  # @param schema_name
682
786
  # @param hash
683
787
  # @param [Hash] opts the optional parameters
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -21,6 +21,10 @@ module MoonlogsRuby
21
21
 
22
22
  attr_accessor :query
23
23
 
24
+ attr_accessor :request
25
+
26
+ attr_accessor :response
27
+
24
28
  attr_accessor :kind
25
29
 
26
30
  attr_accessor :level
@@ -32,6 +36,8 @@ module MoonlogsRuby
32
36
  :'schema_name' => :'schema_name',
33
37
  :'schema_id' => :'schema_id',
34
38
  :'query' => :'query',
39
+ :'request' => :'request',
40
+ :'response' => :'response',
35
41
  :'kind' => :'kind',
36
42
  :'level' => :'level'
37
43
  }
@@ -44,6 +50,8 @@ module MoonlogsRuby
44
50
  :'schema_name' => :'Object',
45
51
  :'schema_id' => :'Object',
46
52
  :'query' => :'Object',
53
+ :'request' => :'Object',
54
+ :'response' => :'Object',
47
55
  :'kind' => :'Object',
48
56
  :'level' => :'Object'
49
57
  }
@@ -86,6 +94,14 @@ module MoonlogsRuby
86
94
  self.query = attributes[:'query']
87
95
  end
88
96
 
97
+ if attributes.key?(:'request')
98
+ self.request = attributes[:'request']
99
+ end
100
+
101
+ if attributes.key?(:'response')
102
+ self.response = attributes[:'response']
103
+ end
104
+
89
105
  if attributes.key?(:'kind')
90
106
  self.kind = attributes[:'kind']
91
107
  end
@@ -132,6 +148,8 @@ module MoonlogsRuby
132
148
  schema_name == o.schema_name &&
133
149
  schema_id == o.schema_id &&
134
150
  query == o.query &&
151
+ request == o.request &&
152
+ response == o.response &&
135
153
  kind == o.kind &&
136
154
  level == o.level
137
155
  end
@@ -145,7 +163,7 @@ module MoonlogsRuby
145
163
  # Calculates hash code according to all attributes.
146
164
  # @return [Integer] Hash code
147
165
  def hash
148
- [text, schema_name, schema_id, query, kind, level].hash
166
+ [text, schema_name, schema_id, query, request, response, kind, level].hash
149
167
  end
150
168
 
151
169
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -23,6 +23,10 @@ module MoonlogsRuby
23
23
 
24
24
  attr_accessor :query
25
25
 
26
+ attr_accessor :request
27
+
28
+ attr_accessor :response
29
+
26
30
  attr_accessor :kind
27
31
 
28
32
  attr_accessor :created_at
@@ -39,6 +43,8 @@ module MoonlogsRuby
39
43
  :'schema_name' => :'schema_name',
40
44
  :'schema_id' => :'schema_id',
41
45
  :'query' => :'query',
46
+ :'request' => :'request',
47
+ :'response' => :'response',
42
48
  :'kind' => :'kind',
43
49
  :'created_at' => :'created_at',
44
50
  :'group_hash' => :'group_hash',
@@ -54,6 +60,8 @@ module MoonlogsRuby
54
60
  :'schema_name' => :'Object',
55
61
  :'schema_id' => :'Object',
56
62
  :'query' => :'Object',
63
+ :'request' => :'Object',
64
+ :'response' => :'Object',
57
65
  :'kind' => :'Object',
58
66
  :'created_at' => :'Object',
59
67
  :'group_hash' => :'Object',
@@ -102,6 +110,14 @@ module MoonlogsRuby
102
110
  self.query = attributes[:'query']
103
111
  end
104
112
 
113
+ if attributes.key?(:'request')
114
+ self.request = attributes[:'request']
115
+ end
116
+
117
+ if attributes.key?(:'response')
118
+ self.response = attributes[:'response']
119
+ end
120
+
105
121
  if attributes.key?(:'kind')
106
122
  self.kind = attributes[:'kind']
107
123
  end
@@ -143,6 +159,14 @@ module MoonlogsRuby
143
159
  invalid_properties.push('invalid value for "query", query cannot be nil.')
144
160
  end
145
161
 
162
+ if @request.nil?
163
+ invalid_properties.push('invalid value for "request", request cannot be nil.')
164
+ end
165
+
166
+ if @response.nil?
167
+ invalid_properties.push('invalid value for "response", response cannot be nil.')
168
+ end
169
+
146
170
  if @kind.nil?
147
171
  invalid_properties.push('invalid value for "kind", kind cannot be nil.')
148
172
  end
@@ -170,6 +194,8 @@ module MoonlogsRuby
170
194
  return false if @schema_name.nil?
171
195
  return false if @schema_id.nil?
172
196
  return false if @query.nil?
197
+ return false if @request.nil?
198
+ return false if @response.nil?
173
199
  return false if @kind.nil?
174
200
  return false if @created_at.nil?
175
201
  return false if @group_hash.nil?
@@ -187,6 +213,8 @@ module MoonlogsRuby
187
213
  schema_name == o.schema_name &&
188
214
  schema_id == o.schema_id &&
189
215
  query == o.query &&
216
+ request == o.request &&
217
+ response == o.response &&
190
218
  kind == o.kind &&
191
219
  created_at == o.created_at &&
192
220
  group_hash == o.group_hash &&
@@ -202,7 +230,7 @@ module MoonlogsRuby
202
230
  # Calculates hash code according to all attributes.
203
231
  # @return [Integer] Hash code
204
232
  def hash
205
- [id, text, schema_name, schema_id, query, kind, created_at, group_hash, level].hash
233
+ [id, text, schema_name, schema_id, query, request, response, kind, created_at, group_hash, level].hash
206
234
  end
207
235
 
208
236
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,12 +3,12 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
10
10
  =end
11
11
 
12
12
  module MoonlogsRuby
13
- VERSION = '1.2.10'
13
+ VERSION = '1.3.0'
14
14
  end
data/lib/moonlogs-ruby.rb CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.2.10
6
+ OpenAPI spec version: 1.3.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -5,7 +5,7 @@
5
5
 
6
6
  #Moonlogs API
7
7
 
8
- OpenAPI spec version: 1.2.10
8
+ OpenAPI spec version: 1.3.0
9
9
  Contact: shalpack@gmail.com
10
10
  Generated by: https://github.com/swagger-api/swagger-codegen.git
11
11
  Swagger Codegen version: 3.0.52
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moonlogs-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.10
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swagger-Codegen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-28 00:00:00.000000000 Z
11
+ date: 2024-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus