pulp_certguard_client 1.0.1 → 1.0.2

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 (42) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +22 -17
  3. data/docs/CertguardRHSMCertGuard.md +1 -5
  4. data/docs/CertguardRHSMCertGuardResponse.md +25 -0
  5. data/docs/CertguardX509CertGuard.md +1 -5
  6. data/docs/CertguardX509CertGuardResponse.md +25 -0
  7. data/docs/ContentguardsRhsmApi.md +55 -55
  8. data/docs/ContentguardsX509Api.md +55 -55
  9. data/docs/InlineResponse200.md +3 -3
  10. data/docs/InlineResponse2001.md +3 -3
  11. data/docs/PatchedcertguardRHSMCertGuard.md +21 -0
  12. data/docs/PatchedcertguardX509CertGuard.md +21 -0
  13. data/lib/pulp_certguard_client.rb +6 -2
  14. data/lib/pulp_certguard_client/api/contentguards_rhsm_api.rb +90 -90
  15. data/lib/pulp_certguard_client/api/contentguards_x509_api.rb +90 -90
  16. data/lib/pulp_certguard_client/api_client.rb +2 -2
  17. data/lib/pulp_certguard_client/api_error.rb +2 -2
  18. data/lib/pulp_certguard_client/configuration.rb +3 -3
  19. data/lib/pulp_certguard_client/models/certguard_rhsm_cert_guard.rb +4 -75
  20. data/lib/pulp_certguard_client/models/certguard_rhsm_cert_guard_response.rb +258 -0
  21. data/lib/pulp_certguard_client/models/certguard_x509_cert_guard.rb +4 -75
  22. data/lib/pulp_certguard_client/models/certguard_x509_cert_guard_response.rb +258 -0
  23. data/lib/pulp_certguard_client/models/inline_response200.rb +3 -13
  24. data/lib/pulp_certguard_client/models/inline_response2001.rb +3 -13
  25. data/lib/pulp_certguard_client/models/patchedcertguard_rhsm_cert_guard.rb +229 -0
  26. data/lib/pulp_certguard_client/models/patchedcertguard_x509_cert_guard.rb +229 -0
  27. data/lib/pulp_certguard_client/version.rb +3 -3
  28. data/pulp_certguard_client.gemspec +4 -4
  29. data/spec/api/contentguards_rhsm_api_spec.rb +17 -17
  30. data/spec/api/contentguards_x509_api_spec.rb +17 -17
  31. data/spec/api_client_spec.rb +2 -2
  32. data/spec/configuration_spec.rb +2 -2
  33. data/spec/models/certguard_rhsm_cert_guard_response_spec.rb +65 -0
  34. data/spec/models/certguard_rhsm_cert_guard_spec.rb +2 -14
  35. data/spec/models/certguard_x509_cert_guard_response_spec.rb +65 -0
  36. data/spec/models/certguard_x509_cert_guard_spec.rb +2 -14
  37. data/spec/models/inline_response2001_spec.rb +2 -2
  38. data/spec/models/inline_response200_spec.rb +2 -2
  39. data/spec/models/patchedcertguard_rhsm_cert_guard_spec.rb +53 -0
  40. data/spec/models/patchedcertguard_x509_cert_guard_spec.rb +53 -0
  41. data/spec/spec_helper.rb +2 -2
  42. metadata +23 -7
@@ -1,15 +1,15 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
6
6
  The version of the OpenAPI document: v3
7
-
7
+ Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
13
13
  module PulpCertguardClient
14
- VERSION = '1.0.1'
14
+ VERSION = '1.0.2'
15
15
  end
@@ -3,10 +3,10 @@
3
3
  =begin
4
4
  #Pulp 3 API
5
5
 
6
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ #Fetch, Upload, Organize, and Distribute Software Packages
7
7
 
8
8
  The version of the OpenAPI document: v3
9
-
9
+ Contact: pulp-list@redhat.com
10
10
  Generated by: https://openapi-generator.tech
11
11
  OpenAPI Generator version: 4.2.3
12
12
 
@@ -20,10 +20,10 @@ Gem::Specification.new do |s|
20
20
  s.version = PulpCertguardClient::VERSION
21
21
  s.platform = Gem::Platform::RUBY
22
22
  s.authors = ["OpenAPI-Generator"]
23
- s.email = [""]
23
+ s.email = ["pulp-list@redhat.com"]
24
24
  s.homepage = "https://openapi-generator.tech"
25
25
  s.summary = "Pulp 3 API Ruby Gem"
26
- s.description = "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)"
26
+ s.description = "Fetch, Upload, Organize, and Distribute Software Packages"
27
27
  s.license = 'GPL-2.0+'
28
28
  s.required_ruby_version = ">= 1.9"
29
29
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
6
6
  The version of the OpenAPI document: v3
7
-
7
+ Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -35,9 +35,9 @@ describe 'ContentguardsRhsmApi' do
35
35
  # unit tests for create
36
36
  # Create a rhsm cert guard
37
37
  # RHSMCertGuard API Viewsets.
38
- # @param data
38
+ # @param certguard_rhsm_cert_guard
39
39
  # @param [Hash] opts the optional parameters
40
- # @return [CertguardRHSMCertGuard]
40
+ # @return [CertguardRHSMCertGuardResponse]
41
41
  describe 'create test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -47,7 +47,7 @@ describe 'ContentguardsRhsmApi' do
47
47
  # unit tests for delete
48
48
  # Delete a rhsm cert guard
49
49
  # RHSMCertGuard API Viewsets.
50
- # @param r_h_s_m_cert_guard_href URI of R H S M Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/rhsm/1/
50
+ # @param certguard_r_h_s_m_cert_guard_href
51
51
  # @param [Hash] opts the optional parameters
52
52
  # @return [nil]
53
53
  describe 'delete test' do
@@ -60,11 +60,11 @@ describe 'ContentguardsRhsmApi' do
60
60
  # List rhsm cert guards
61
61
  # RHSMCertGuard API Viewsets.
62
62
  # @param [Hash] opts the optional parameters
63
- # @option opts [String] :ordering Which field to use when ordering the results.
64
- # @option opts [String] :name
65
- # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
66
63
  # @option opts [Integer] :limit Number of results to return per page.
64
+ # @option opts [String] :name name
65
+ # @option opts [String] :name__in name__in
67
66
  # @option opts [Integer] :offset The initial index from which to return the results.
67
+ # @option opts [String] :ordering Which field to use when ordering the results.
68
68
  # @option opts [String] :fields A list of fields to include in the response.
69
69
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
70
70
  # @return [InlineResponse200]
@@ -75,12 +75,12 @@ describe 'ContentguardsRhsmApi' do
75
75
  end
76
76
 
77
77
  # unit tests for partial_update
78
- # Partially update a rhsm cert guard
78
+ # Update a rhsm cert guard
79
79
  # RHSMCertGuard API Viewsets.
80
- # @param r_h_s_m_cert_guard_href URI of R H S M Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/rhsm/1/
81
- # @param data
80
+ # @param certguard_r_h_s_m_cert_guard_href
81
+ # @param patchedcertguard_rhsm_cert_guard
82
82
  # @param [Hash] opts the optional parameters
83
- # @return [CertguardRHSMCertGuard]
83
+ # @return [CertguardRHSMCertGuardResponse]
84
84
  describe 'partial_update test' do
85
85
  it 'should work' do
86
86
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -90,11 +90,11 @@ describe 'ContentguardsRhsmApi' do
90
90
  # unit tests for read
91
91
  # Inspect a rhsm cert guard
92
92
  # RHSMCertGuard API Viewsets.
93
- # @param r_h_s_m_cert_guard_href URI of R H S M Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/rhsm/1/
93
+ # @param certguard_r_h_s_m_cert_guard_href
94
94
  # @param [Hash] opts the optional parameters
95
95
  # @option opts [String] :fields A list of fields to include in the response.
96
96
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
97
- # @return [CertguardRHSMCertGuard]
97
+ # @return [CertguardRHSMCertGuardResponse]
98
98
  describe 'read test' do
99
99
  it 'should work' do
100
100
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -104,10 +104,10 @@ describe 'ContentguardsRhsmApi' do
104
104
  # unit tests for update
105
105
  # Update a rhsm cert guard
106
106
  # RHSMCertGuard API Viewsets.
107
- # @param r_h_s_m_cert_guard_href URI of R H S M Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/rhsm/1/
108
- # @param data
107
+ # @param certguard_r_h_s_m_cert_guard_href
108
+ # @param certguard_rhsm_cert_guard
109
109
  # @param [Hash] opts the optional parameters
110
- # @return [CertguardRHSMCertGuard]
110
+ # @return [CertguardRHSMCertGuardResponse]
111
111
  describe 'update test' do
112
112
  it 'should work' do
113
113
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
6
6
  The version of the OpenAPI document: v3
7
-
7
+ Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -35,9 +35,9 @@ describe 'ContentguardsX509Api' do
35
35
  # unit tests for create
36
36
  # Create a x509 cert guard
37
37
  # X509CertGuard API Viewsets.
38
- # @param data
38
+ # @param certguard_x509_cert_guard
39
39
  # @param [Hash] opts the optional parameters
40
- # @return [CertguardX509CertGuard]
40
+ # @return [CertguardX509CertGuardResponse]
41
41
  describe 'create test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -47,7 +47,7 @@ describe 'ContentguardsX509Api' do
47
47
  # unit tests for delete
48
48
  # Delete a x509 cert guard
49
49
  # X509CertGuard API Viewsets.
50
- # @param x509_cert_guard_href URI of X509 Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/x509/1/
50
+ # @param certguard_x509_cert_guard_href
51
51
  # @param [Hash] opts the optional parameters
52
52
  # @return [nil]
53
53
  describe 'delete test' do
@@ -60,11 +60,11 @@ describe 'ContentguardsX509Api' do
60
60
  # List x509 cert guards
61
61
  # X509CertGuard API Viewsets.
62
62
  # @param [Hash] opts the optional parameters
63
- # @option opts [String] :ordering Which field to use when ordering the results.
64
- # @option opts [String] :name
65
- # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
66
63
  # @option opts [Integer] :limit Number of results to return per page.
64
+ # @option opts [String] :name name
65
+ # @option opts [String] :name__in name__in
67
66
  # @option opts [Integer] :offset The initial index from which to return the results.
67
+ # @option opts [String] :ordering Which field to use when ordering the results.
68
68
  # @option opts [String] :fields A list of fields to include in the response.
69
69
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
70
70
  # @return [InlineResponse2001]
@@ -75,12 +75,12 @@ describe 'ContentguardsX509Api' do
75
75
  end
76
76
 
77
77
  # unit tests for partial_update
78
- # Partially update a x509 cert guard
78
+ # Update a x509 cert guard
79
79
  # X509CertGuard API Viewsets.
80
- # @param x509_cert_guard_href URI of X509 Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/x509/1/
81
- # @param data
80
+ # @param certguard_x509_cert_guard_href
81
+ # @param patchedcertguard_x509_cert_guard
82
82
  # @param [Hash] opts the optional parameters
83
- # @return [CertguardX509CertGuard]
83
+ # @return [CertguardX509CertGuardResponse]
84
84
  describe 'partial_update test' do
85
85
  it 'should work' do
86
86
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -90,11 +90,11 @@ describe 'ContentguardsX509Api' do
90
90
  # unit tests for read
91
91
  # Inspect a x509 cert guard
92
92
  # X509CertGuard API Viewsets.
93
- # @param x509_cert_guard_href URI of X509 Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/x509/1/
93
+ # @param certguard_x509_cert_guard_href
94
94
  # @param [Hash] opts the optional parameters
95
95
  # @option opts [String] :fields A list of fields to include in the response.
96
96
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
97
- # @return [CertguardX509CertGuard]
97
+ # @return [CertguardX509CertGuardResponse]
98
98
  describe 'read test' do
99
99
  it 'should work' do
100
100
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -104,10 +104,10 @@ describe 'ContentguardsX509Api' do
104
104
  # unit tests for update
105
105
  # Update a x509 cert guard
106
106
  # X509CertGuard API Viewsets.
107
- # @param x509_cert_guard_href URI of X509 Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/x509/1/
108
- # @param data
107
+ # @param certguard_x509_cert_guard_href
108
+ # @param certguard_x509_cert_guard
109
109
  # @param [Hash] opts the optional parameters
110
- # @return [CertguardX509CertGuard]
110
+ # @return [CertguardX509CertGuardResponse]
111
111
  describe 'update test' do
112
112
  it 'should work' do
113
113
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
6
6
  The version of the OpenAPI document: v3
7
-
7
+ Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
6
6
  The version of the OpenAPI document: v3
7
-
7
+ Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -0,0 +1,65 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpCertguardClient::CertguardRHSMCertGuardResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'CertguardRHSMCertGuardResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpCertguardClient::CertguardRHSMCertGuardResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of CertguardRHSMCertGuardResponse' do
31
+ it 'should create an instance of CertguardRHSMCertGuardResponse' do
32
+ expect(@instance).to be_instance_of(PulpCertguardClient::CertguardRHSMCertGuardResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "pulp_href"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "pulp_created"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "name"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "description"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "ca_certificate"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ end
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
6
6
  The version of the OpenAPI document: v3
7
-
7
+ Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -32,18 +32,6 @@ describe 'CertguardRHSMCertGuard' do
32
32
  expect(@instance).to be_instance_of(PulpCertguardClient::CertguardRHSMCertGuard)
33
33
  end
34
34
  end
35
- describe 'test attribute "pulp_href"' do
36
- it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
- end
39
- end
40
-
41
- describe 'test attribute "pulp_created"' do
42
- it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
- end
45
- end
46
-
47
35
  describe 'test attribute "name"' do
48
36
  it 'should work' do
49
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,65 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpCertguardClient::CertguardX509CertGuardResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'CertguardX509CertGuardResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpCertguardClient::CertguardX509CertGuardResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of CertguardX509CertGuardResponse' do
31
+ it 'should create an instance of CertguardX509CertGuardResponse' do
32
+ expect(@instance).to be_instance_of(PulpCertguardClient::CertguardX509CertGuardResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "pulp_href"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "pulp_created"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "name"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "description"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "ca_certificate"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ end
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
6
6
  The version of the OpenAPI document: v3
7
-
7
+ Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -32,18 +32,6 @@ describe 'CertguardX509CertGuard' do
32
32
  expect(@instance).to be_instance_of(PulpCertguardClient::CertguardX509CertGuard)
33
33
  end
34
34
  end
35
- describe 'test attribute "pulp_href"' do
36
- it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
- end
39
- end
40
-
41
- describe 'test attribute "pulp_created"' do
42
- it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
- end
45
- end
46
-
47
35
  describe 'test attribute "name"' do
48
36
  it 'should work' do
49
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers