pulp_certguard_client 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/lib/pulp_certguard_client/models/certguard_rhsm_cert_guard.rb +53 -0
- data/lib/pulp_certguard_client/models/certguard_x509_cert_guard.rb +53 -0
- data/lib/pulp_certguard_client/models/patchedcertguard_rhsm_cert_guard.rb +45 -0
- data/lib/pulp_certguard_client/models/patchedcertguard_x509_cert_guard.rb +45 -0
- data/lib/pulp_certguard_client/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d4a7d09cf74c119e17e62fad1cfde816ddfb5b56a95354a88d0e2543180017f
|
4
|
+
data.tar.gz: 39b8a50e39ba94948297a4aed268628afceedb844bf34f52a620f5d88c561907
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: edbf3908954ac33570f3f0a6ee136f72a830b49405c3f73ca45d24b011d08ad3053c1d6a77c36bce79471f206bae6f1d1ec567a719f1ab4ae8413a2c6e20d83f
|
7
|
+
data.tar.gz: e91f4313f34dbb43c7faeec90f2bdbf7fad168eee4feb025d55a3bf52fa73d7c8f94dcc5335a874662997ca1ffcad655bd5fb959a42e3867092e092bbefc2917
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 1.5.
|
10
|
+
- Package version: 1.5.2
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_certguard_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_certguard_client-1.5.
|
27
|
+
gem install ./pulp_certguard_client-1.5.2.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_certguard_client-1.5.
|
30
|
+
(for development, run `gem install --dev ./pulp_certguard_client-1.5.2.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_certguard_client', '~> 1.5.
|
36
|
+
gem 'pulp_certguard_client', '~> 1.5.2'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -85,10 +85,22 @@ module PulpCertguardClient
|
|
85
85
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
86
86
|
end
|
87
87
|
|
88
|
+
if @name.to_s.length < 1
|
89
|
+
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
90
|
+
end
|
91
|
+
|
92
|
+
if !@description.nil? && @description.to_s.length < 1
|
93
|
+
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
94
|
+
end
|
95
|
+
|
88
96
|
if @ca_certificate.nil?
|
89
97
|
invalid_properties.push('invalid value for "ca_certificate", ca_certificate cannot be nil.')
|
90
98
|
end
|
91
99
|
|
100
|
+
if @ca_certificate.to_s.length < 1
|
101
|
+
invalid_properties.push('invalid value for "ca_certificate", the character length must be great than or equal to 1.')
|
102
|
+
end
|
103
|
+
|
92
104
|
invalid_properties
|
93
105
|
end
|
94
106
|
|
@@ -96,10 +108,51 @@ module PulpCertguardClient
|
|
96
108
|
# @return true if the model is valid
|
97
109
|
def valid?
|
98
110
|
return false if @name.nil?
|
111
|
+
return false if @name.to_s.length < 1
|
112
|
+
return false if !@description.nil? && @description.to_s.length < 1
|
99
113
|
return false if @ca_certificate.nil?
|
114
|
+
return false if @ca_certificate.to_s.length < 1
|
100
115
|
true
|
101
116
|
end
|
102
117
|
|
118
|
+
# Custom attribute writer method with validation
|
119
|
+
# @param [Object] name Value to be assigned
|
120
|
+
def name=(name)
|
121
|
+
if name.nil?
|
122
|
+
fail ArgumentError, 'name cannot be nil'
|
123
|
+
end
|
124
|
+
|
125
|
+
if name.to_s.length < 1
|
126
|
+
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
127
|
+
end
|
128
|
+
|
129
|
+
@name = name
|
130
|
+
end
|
131
|
+
|
132
|
+
# Custom attribute writer method with validation
|
133
|
+
# @param [Object] description Value to be assigned
|
134
|
+
def description=(description)
|
135
|
+
if !description.nil? && description.to_s.length < 1
|
136
|
+
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
137
|
+
end
|
138
|
+
|
139
|
+
@description = description
|
140
|
+
end
|
141
|
+
|
142
|
+
# Custom attribute writer method with validation
|
143
|
+
# @param [Object] ca_certificate Value to be assigned
|
144
|
+
def ca_certificate=(ca_certificate)
|
145
|
+
if ca_certificate.nil?
|
146
|
+
fail ArgumentError, 'ca_certificate cannot be nil'
|
147
|
+
end
|
148
|
+
|
149
|
+
if ca_certificate.to_s.length < 1
|
150
|
+
fail ArgumentError, 'invalid value for "ca_certificate", the character length must be great than or equal to 1.'
|
151
|
+
end
|
152
|
+
|
153
|
+
@ca_certificate = ca_certificate
|
154
|
+
end
|
155
|
+
|
103
156
|
# Checks equality by comparing each attribute.
|
104
157
|
# @param [Object] Object to be compared
|
105
158
|
def ==(o)
|
@@ -85,10 +85,22 @@ module PulpCertguardClient
|
|
85
85
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
86
86
|
end
|
87
87
|
|
88
|
+
if @name.to_s.length < 1
|
89
|
+
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
90
|
+
end
|
91
|
+
|
92
|
+
if !@description.nil? && @description.to_s.length < 1
|
93
|
+
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
94
|
+
end
|
95
|
+
|
88
96
|
if @ca_certificate.nil?
|
89
97
|
invalid_properties.push('invalid value for "ca_certificate", ca_certificate cannot be nil.')
|
90
98
|
end
|
91
99
|
|
100
|
+
if @ca_certificate.to_s.length < 1
|
101
|
+
invalid_properties.push('invalid value for "ca_certificate", the character length must be great than or equal to 1.')
|
102
|
+
end
|
103
|
+
|
92
104
|
invalid_properties
|
93
105
|
end
|
94
106
|
|
@@ -96,10 +108,51 @@ module PulpCertguardClient
|
|
96
108
|
# @return true if the model is valid
|
97
109
|
def valid?
|
98
110
|
return false if @name.nil?
|
111
|
+
return false if @name.to_s.length < 1
|
112
|
+
return false if !@description.nil? && @description.to_s.length < 1
|
99
113
|
return false if @ca_certificate.nil?
|
114
|
+
return false if @ca_certificate.to_s.length < 1
|
100
115
|
true
|
101
116
|
end
|
102
117
|
|
118
|
+
# Custom attribute writer method with validation
|
119
|
+
# @param [Object] name Value to be assigned
|
120
|
+
def name=(name)
|
121
|
+
if name.nil?
|
122
|
+
fail ArgumentError, 'name cannot be nil'
|
123
|
+
end
|
124
|
+
|
125
|
+
if name.to_s.length < 1
|
126
|
+
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
127
|
+
end
|
128
|
+
|
129
|
+
@name = name
|
130
|
+
end
|
131
|
+
|
132
|
+
# Custom attribute writer method with validation
|
133
|
+
# @param [Object] description Value to be assigned
|
134
|
+
def description=(description)
|
135
|
+
if !description.nil? && description.to_s.length < 1
|
136
|
+
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
137
|
+
end
|
138
|
+
|
139
|
+
@description = description
|
140
|
+
end
|
141
|
+
|
142
|
+
# Custom attribute writer method with validation
|
143
|
+
# @param [Object] ca_certificate Value to be assigned
|
144
|
+
def ca_certificate=(ca_certificate)
|
145
|
+
if ca_certificate.nil?
|
146
|
+
fail ArgumentError, 'ca_certificate cannot be nil'
|
147
|
+
end
|
148
|
+
|
149
|
+
if ca_certificate.to_s.length < 1
|
150
|
+
fail ArgumentError, 'invalid value for "ca_certificate", the character length must be great than or equal to 1.'
|
151
|
+
end
|
152
|
+
|
153
|
+
@ca_certificate = ca_certificate
|
154
|
+
end
|
155
|
+
|
103
156
|
# Checks equality by comparing each attribute.
|
104
157
|
# @param [Object] Object to be compared
|
105
158
|
def ==(o)
|
@@ -81,15 +81,60 @@ module PulpCertguardClient
|
|
81
81
|
# @return Array for valid properties with the reasons
|
82
82
|
def list_invalid_properties
|
83
83
|
invalid_properties = Array.new
|
84
|
+
if !@name.nil? && @name.to_s.length < 1
|
85
|
+
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
86
|
+
end
|
87
|
+
|
88
|
+
if !@description.nil? && @description.to_s.length < 1
|
89
|
+
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
90
|
+
end
|
91
|
+
|
92
|
+
if !@ca_certificate.nil? && @ca_certificate.to_s.length < 1
|
93
|
+
invalid_properties.push('invalid value for "ca_certificate", the character length must be great than or equal to 1.')
|
94
|
+
end
|
95
|
+
|
84
96
|
invalid_properties
|
85
97
|
end
|
86
98
|
|
87
99
|
# Check to see if the all the properties in the model are valid
|
88
100
|
# @return true if the model is valid
|
89
101
|
def valid?
|
102
|
+
return false if !@name.nil? && @name.to_s.length < 1
|
103
|
+
return false if !@description.nil? && @description.to_s.length < 1
|
104
|
+
return false if !@ca_certificate.nil? && @ca_certificate.to_s.length < 1
|
90
105
|
true
|
91
106
|
end
|
92
107
|
|
108
|
+
# Custom attribute writer method with validation
|
109
|
+
# @param [Object] name Value to be assigned
|
110
|
+
def name=(name)
|
111
|
+
if !name.nil? && name.to_s.length < 1
|
112
|
+
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
113
|
+
end
|
114
|
+
|
115
|
+
@name = name
|
116
|
+
end
|
117
|
+
|
118
|
+
# Custom attribute writer method with validation
|
119
|
+
# @param [Object] description Value to be assigned
|
120
|
+
def description=(description)
|
121
|
+
if !description.nil? && description.to_s.length < 1
|
122
|
+
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
123
|
+
end
|
124
|
+
|
125
|
+
@description = description
|
126
|
+
end
|
127
|
+
|
128
|
+
# Custom attribute writer method with validation
|
129
|
+
# @param [Object] ca_certificate Value to be assigned
|
130
|
+
def ca_certificate=(ca_certificate)
|
131
|
+
if !ca_certificate.nil? && ca_certificate.to_s.length < 1
|
132
|
+
fail ArgumentError, 'invalid value for "ca_certificate", the character length must be great than or equal to 1.'
|
133
|
+
end
|
134
|
+
|
135
|
+
@ca_certificate = ca_certificate
|
136
|
+
end
|
137
|
+
|
93
138
|
# Checks equality by comparing each attribute.
|
94
139
|
# @param [Object] Object to be compared
|
95
140
|
def ==(o)
|
@@ -81,15 +81,60 @@ module PulpCertguardClient
|
|
81
81
|
# @return Array for valid properties with the reasons
|
82
82
|
def list_invalid_properties
|
83
83
|
invalid_properties = Array.new
|
84
|
+
if !@name.nil? && @name.to_s.length < 1
|
85
|
+
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
86
|
+
end
|
87
|
+
|
88
|
+
if !@description.nil? && @description.to_s.length < 1
|
89
|
+
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
90
|
+
end
|
91
|
+
|
92
|
+
if !@ca_certificate.nil? && @ca_certificate.to_s.length < 1
|
93
|
+
invalid_properties.push('invalid value for "ca_certificate", the character length must be great than or equal to 1.')
|
94
|
+
end
|
95
|
+
|
84
96
|
invalid_properties
|
85
97
|
end
|
86
98
|
|
87
99
|
# Check to see if the all the properties in the model are valid
|
88
100
|
# @return true if the model is valid
|
89
101
|
def valid?
|
102
|
+
return false if !@name.nil? && @name.to_s.length < 1
|
103
|
+
return false if !@description.nil? && @description.to_s.length < 1
|
104
|
+
return false if !@ca_certificate.nil? && @ca_certificate.to_s.length < 1
|
90
105
|
true
|
91
106
|
end
|
92
107
|
|
108
|
+
# Custom attribute writer method with validation
|
109
|
+
# @param [Object] name Value to be assigned
|
110
|
+
def name=(name)
|
111
|
+
if !name.nil? && name.to_s.length < 1
|
112
|
+
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
113
|
+
end
|
114
|
+
|
115
|
+
@name = name
|
116
|
+
end
|
117
|
+
|
118
|
+
# Custom attribute writer method with validation
|
119
|
+
# @param [Object] description Value to be assigned
|
120
|
+
def description=(description)
|
121
|
+
if !description.nil? && description.to_s.length < 1
|
122
|
+
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
123
|
+
end
|
124
|
+
|
125
|
+
@description = description
|
126
|
+
end
|
127
|
+
|
128
|
+
# Custom attribute writer method with validation
|
129
|
+
# @param [Object] ca_certificate Value to be assigned
|
130
|
+
def ca_certificate=(ca_certificate)
|
131
|
+
if !ca_certificate.nil? && ca_certificate.to_s.length < 1
|
132
|
+
fail ArgumentError, 'invalid value for "ca_certificate", the character length must be great than or equal to 1.'
|
133
|
+
end
|
134
|
+
|
135
|
+
@ca_certificate = ca_certificate
|
136
|
+
end
|
137
|
+
|
93
138
|
# Checks equality by comparing each attribute.
|
94
139
|
# @param [Object] Object to be compared
|
95
140
|
def ==(o)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_certguard_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -142,12 +142,12 @@ test_files:
|
|
142
142
|
- spec/api/contentguards_x509_api_spec.rb
|
143
143
|
- spec/api_client_spec.rb
|
144
144
|
- spec/configuration_spec.rb
|
145
|
-
- spec/models/
|
145
|
+
- spec/models/patchedcertguard_x509_cert_guard_spec.rb
|
146
|
+
- spec/models/certguard_rhsm_cert_guard_spec.rb
|
147
|
+
- spec/models/certguard_rhsm_cert_guard_response_spec.rb
|
148
|
+
- spec/models/certguard_x509_cert_guard_response_spec.rb
|
146
149
|
- spec/models/paginatedcertguard_x509_cert_guard_response_list_spec.rb
|
150
|
+
- spec/models/patchedcertguard_rhsm_cert_guard_spec.rb
|
147
151
|
- spec/models/paginatedcertguard_rhsm_cert_guard_response_list_spec.rb
|
148
|
-
- spec/models/certguard_rhsm_cert_guard_response_spec.rb
|
149
152
|
- spec/models/certguard_x509_cert_guard_spec.rb
|
150
|
-
- spec/models/certguard_x509_cert_guard_response_spec.rb
|
151
|
-
- spec/models/certguard_rhsm_cert_guard_spec.rb
|
152
|
-
- spec/models/patchedcertguard_x509_cert_guard_spec.rb
|
153
153
|
- spec/spec_helper.rb
|