pulp_ansible_client 0.11.0 → 0.11.1
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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AnsibleCollectionVersion.md +3 -3
- data/docs/AnsibleGitRemote.md +30 -30
- data/docs/AnsibleGitRemoteResponse.md +27 -27
- data/docs/ContentCollectionVersionsApi.md +3 -3
- data/docs/PatchedansibleGitRemote.md +30 -30
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +234 -234
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +147 -147
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +226 -226
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +1 -1
- data/spec/models/ansible_collection_version_spec.rb +2 -2
- data/spec/models/ansible_git_remote_response_spec.rb +18 -18
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +2 -2
| @@ -15,64 +15,64 @@ require 'date' | |
| 15 15 | 
             
            module PulpAnsibleClient
         | 
| 16 16 | 
             
              # A serializer for Git Collection Remotes.
         | 
| 17 17 | 
             
              class AnsibleGitRemote
         | 
| 18 | 
            -
                #  | 
| 19 | 
            -
                attr_accessor : | 
| 18 | 
            +
                # The username to authenticte to the proxy.
         | 
| 19 | 
            +
                attr_accessor :proxy_username
         | 
| 20 20 |  | 
| 21 | 
            -
                 | 
| 21 | 
            +
                # The proxy URL. Format: scheme://host:port
         | 
| 22 | 
            +
                attr_accessor :proxy_url
         | 
| 22 23 |  | 
| 23 | 
            -
                #  | 
| 24 | 
            -
                attr_accessor : | 
| 24 | 
            +
                # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
         | 
| 25 | 
            +
                attr_accessor :max_retries
         | 
| 25 26 |  | 
| 26 | 
            -
                #  | 
| 27 | 
            -
                attr_accessor : | 
| 27 | 
            +
                # aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
         | 
| 28 | 
            +
                attr_accessor :connect_timeout
         | 
| 29 | 
            +
             | 
| 30 | 
            +
                # If True, TLS peer validation must be performed.
         | 
| 31 | 
            +
                attr_accessor :tls_validation
         | 
| 28 32 |  | 
| 29 33 | 
             
                # The username to be used for authentication when syncing.
         | 
| 30 34 | 
             
                attr_accessor :username
         | 
| 31 35 |  | 
| 32 | 
            -
                #  | 
| 33 | 
            -
                attr_accessor : | 
| 34 | 
            -
             | 
| 35 | 
            -
                # The password to be used for authentication when syncing.
         | 
| 36 | 
            -
                attr_accessor :password
         | 
| 36 | 
            +
                # Limits requests per second for each concurrent downloader
         | 
| 37 | 
            +
                attr_accessor :rate_limit
         | 
| 37 38 |  | 
| 38 39 | 
             
                # A PEM encoded private key used for authentication.
         | 
| 39 40 | 
             
                attr_accessor :client_key
         | 
| 40 41 |  | 
| 41 | 
            -
                #  | 
| 42 | 
            -
                attr_accessor : | 
| 43 | 
            -
             | 
| 44 | 
            -
                # If True, TLS peer validation must be performed.
         | 
| 45 | 
            -
                attr_accessor :tls_validation
         | 
| 42 | 
            +
                # A PEM encoded client certificate used for authentication.
         | 
| 43 | 
            +
                attr_accessor :client_cert
         | 
| 46 44 |  | 
| 47 | 
            -
                #  | 
| 48 | 
            -
                attr_accessor : | 
| 45 | 
            +
                # aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
         | 
| 46 | 
            +
                attr_accessor :sock_connect_timeout
         | 
| 49 47 |  | 
| 50 | 
            -
                #  | 
| 51 | 
            -
                attr_accessor : | 
| 48 | 
            +
                # Total number of simultaneous connections. If not set then the default value will be used.
         | 
| 49 | 
            +
                attr_accessor :download_concurrency
         | 
| 52 50 |  | 
| 53 | 
            -
                 | 
| 54 | 
            -
                attr_accessor :ca_cert
         | 
| 51 | 
            +
                attr_accessor :pulp_labels
         | 
| 55 52 |  | 
| 56 53 | 
             
                # The password to authenticte to the proxy.
         | 
| 57 54 | 
             
                attr_accessor :proxy_password
         | 
| 58 55 |  | 
| 59 | 
            -
                # aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
         | 
| 60 | 
            -
                attr_accessor :connect_timeout
         | 
| 61 | 
            -
             | 
| 62 56 | 
             
                # Headers for aiohttp.Clientsession
         | 
| 63 57 | 
             
                attr_accessor :headers
         | 
| 64 58 |  | 
| 65 | 
            -
                # aiohttp.ClientTimeout. | 
| 66 | 
            -
                attr_accessor : | 
| 59 | 
            +
                # aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
         | 
| 60 | 
            +
                attr_accessor :sock_read_timeout
         | 
| 61 | 
            +
             | 
| 62 | 
            +
                # A unique name for this remote.
         | 
| 63 | 
            +
                attr_accessor :name
         | 
| 67 64 |  | 
| 68 65 | 
             
                # The URL of an external content source.
         | 
| 69 66 | 
             
                attr_accessor :url
         | 
| 70 67 |  | 
| 71 | 
            -
                # The  | 
| 72 | 
            -
                attr_accessor : | 
| 68 | 
            +
                # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
         | 
| 69 | 
            +
                attr_accessor :total_timeout
         | 
| 73 70 |  | 
| 74 | 
            -
                #  | 
| 75 | 
            -
                attr_accessor : | 
| 71 | 
            +
                # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
         | 
| 72 | 
            +
                attr_accessor :ca_cert
         | 
| 73 | 
            +
             | 
| 74 | 
            +
                # The password to be used for authentication when syncing.
         | 
| 75 | 
            +
                attr_accessor :password
         | 
| 76 76 |  | 
| 77 77 | 
             
                # If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.
         | 
| 78 78 | 
             
                attr_accessor :metadata_only
         | 
| @@ -83,26 +83,26 @@ module PulpAnsibleClient | |
| 83 83 | 
             
                # Attribute mapping from ruby-style variable name to JSON key.
         | 
| 84 84 | 
             
                def self.attribute_map
         | 
| 85 85 | 
             
                  {
         | 
| 86 | 
            -
                    :' | 
| 87 | 
            -
                    :'pulp_labels' => :'pulp_labels',
         | 
| 88 | 
            -
                    :'client_cert' => :'client_cert',
         | 
| 89 | 
            -
                    :'rate_limit' => :'rate_limit',
         | 
| 90 | 
            -
                    :'username' => :'username',
         | 
| 91 | 
            -
                    :'total_timeout' => :'total_timeout',
         | 
| 92 | 
            -
                    :'password' => :'password',
         | 
| 93 | 
            -
                    :'client_key' => :'client_key',
         | 
| 86 | 
            +
                    :'proxy_username' => :'proxy_username',
         | 
| 94 87 | 
             
                    :'proxy_url' => :'proxy_url',
         | 
| 95 | 
            -
                    :'tls_validation' => :'tls_validation',
         | 
| 96 88 | 
             
                    :'max_retries' => :'max_retries',
         | 
| 97 | 
            -
                    :'name' => :'name',
         | 
| 98 | 
            -
                    :'ca_cert' => :'ca_cert',
         | 
| 99 | 
            -
                    :'proxy_password' => :'proxy_password',
         | 
| 100 89 | 
             
                    :'connect_timeout' => :'connect_timeout',
         | 
| 101 | 
            -
                    :' | 
| 90 | 
            +
                    :'tls_validation' => :'tls_validation',
         | 
| 91 | 
            +
                    :'username' => :'username',
         | 
| 92 | 
            +
                    :'rate_limit' => :'rate_limit',
         | 
| 93 | 
            +
                    :'client_key' => :'client_key',
         | 
| 94 | 
            +
                    :'client_cert' => :'client_cert',
         | 
| 102 95 | 
             
                    :'sock_connect_timeout' => :'sock_connect_timeout',
         | 
| 103 | 
            -
                    :'url' => :'url',
         | 
| 104 | 
            -
                    :'proxy_username' => :'proxy_username',
         | 
| 105 96 | 
             
                    :'download_concurrency' => :'download_concurrency',
         | 
| 97 | 
            +
                    :'pulp_labels' => :'pulp_labels',
         | 
| 98 | 
            +
                    :'proxy_password' => :'proxy_password',
         | 
| 99 | 
            +
                    :'headers' => :'headers',
         | 
| 100 | 
            +
                    :'sock_read_timeout' => :'sock_read_timeout',
         | 
| 101 | 
            +
                    :'name' => :'name',
         | 
| 102 | 
            +
                    :'url' => :'url',
         | 
| 103 | 
            +
                    :'total_timeout' => :'total_timeout',
         | 
| 104 | 
            +
                    :'ca_cert' => :'ca_cert',
         | 
| 105 | 
            +
                    :'password' => :'password',
         | 
| 106 106 | 
             
                    :'metadata_only' => :'metadata_only',
         | 
| 107 107 | 
             
                    :'git_ref' => :'git_ref'
         | 
| 108 108 | 
             
                  }
         | 
| @@ -111,26 +111,26 @@ module PulpAnsibleClient | |
| 111 111 | 
             
                # Attribute type mapping.
         | 
| 112 112 | 
             
                def self.openapi_types
         | 
| 113 113 | 
             
                  {
         | 
| 114 | 
            -
                    :' | 
| 115 | 
            -
                    :'pulp_labels' => :'Object',
         | 
| 116 | 
            -
                    :'client_cert' => :'String',
         | 
| 117 | 
            -
                    :'rate_limit' => :'Integer',
         | 
| 118 | 
            -
                    :'username' => :'String',
         | 
| 119 | 
            -
                    :'total_timeout' => :'Float',
         | 
| 120 | 
            -
                    :'password' => :'String',
         | 
| 121 | 
            -
                    :'client_key' => :'String',
         | 
| 114 | 
            +
                    :'proxy_username' => :'String',
         | 
| 122 115 | 
             
                    :'proxy_url' => :'String',
         | 
| 123 | 
            -
                    :'tls_validation' => :'Boolean',
         | 
| 124 116 | 
             
                    :'max_retries' => :'Integer',
         | 
| 125 | 
            -
                    :'name' => :'String',
         | 
| 126 | 
            -
                    :'ca_cert' => :'String',
         | 
| 127 | 
            -
                    :'proxy_password' => :'String',
         | 
| 128 117 | 
             
                    :'connect_timeout' => :'Float',
         | 
| 129 | 
            -
                    :' | 
| 118 | 
            +
                    :'tls_validation' => :'Boolean',
         | 
| 119 | 
            +
                    :'username' => :'String',
         | 
| 120 | 
            +
                    :'rate_limit' => :'Integer',
         | 
| 121 | 
            +
                    :'client_key' => :'String',
         | 
| 122 | 
            +
                    :'client_cert' => :'String',
         | 
| 130 123 | 
             
                    :'sock_connect_timeout' => :'Float',
         | 
| 131 | 
            -
                    :'url' => :'String',
         | 
| 132 | 
            -
                    :'proxy_username' => :'String',
         | 
| 133 124 | 
             
                    :'download_concurrency' => :'Integer',
         | 
| 125 | 
            +
                    :'pulp_labels' => :'Object',
         | 
| 126 | 
            +
                    :'proxy_password' => :'String',
         | 
| 127 | 
            +
                    :'headers' => :'Array<Object>',
         | 
| 128 | 
            +
                    :'sock_read_timeout' => :'Float',
         | 
| 129 | 
            +
                    :'name' => :'String',
         | 
| 130 | 
            +
                    :'url' => :'String',
         | 
| 131 | 
            +
                    :'total_timeout' => :'Float',
         | 
| 132 | 
            +
                    :'ca_cert' => :'String',
         | 
| 133 | 
            +
                    :'password' => :'String',
         | 
| 134 134 | 
             
                    :'metadata_only' => :'Boolean',
         | 
| 135 135 | 
             
                    :'git_ref' => :'String'
         | 
| 136 136 | 
             
                  }
         | 
| @@ -139,21 +139,21 @@ module PulpAnsibleClient | |
| 139 139 | 
             
                # List of attributes with nullable: true
         | 
| 140 140 | 
             
                def self.openapi_nullable
         | 
| 141 141 | 
             
                  Set.new([
         | 
| 142 | 
            -
                    :' | 
| 143 | 
            -
                    :'client_cert',
         | 
| 144 | 
            -
                    :'rate_limit',
         | 
| 145 | 
            -
                    :'username',
         | 
| 146 | 
            -
                    :'total_timeout',
         | 
| 147 | 
            -
                    :'password',
         | 
| 148 | 
            -
                    :'client_key',
         | 
| 142 | 
            +
                    :'proxy_username',
         | 
| 149 143 | 
             
                    :'proxy_url',
         | 
| 150 144 | 
             
                    :'max_retries',
         | 
| 151 | 
            -
                    :'ca_cert',
         | 
| 152 | 
            -
                    :'proxy_password',
         | 
| 153 145 | 
             
                    :'connect_timeout',
         | 
| 146 | 
            +
                    :'username',
         | 
| 147 | 
            +
                    :'rate_limit',
         | 
| 148 | 
            +
                    :'client_key',
         | 
| 149 | 
            +
                    :'client_cert',
         | 
| 154 150 | 
             
                    :'sock_connect_timeout',
         | 
| 155 | 
            -
                    :'proxy_username',
         | 
| 156 151 | 
             
                    :'download_concurrency',
         | 
| 152 | 
            +
                    :'proxy_password',
         | 
| 153 | 
            +
                    :'sock_read_timeout',
         | 
| 154 | 
            +
                    :'total_timeout',
         | 
| 155 | 
            +
                    :'ca_cert',
         | 
| 156 | 
            +
                    :'password',
         | 
| 157 157 | 
             
                  ])
         | 
| 158 158 | 
             
                end
         | 
| 159 159 |  | 
| @@ -172,86 +172,86 @@ module PulpAnsibleClient | |
| 172 172 | 
             
                    h[k.to_sym] = v
         | 
| 173 173 | 
             
                  }
         | 
| 174 174 |  | 
| 175 | 
            -
                  if attributes.key?(:' | 
| 176 | 
            -
                    self. | 
| 175 | 
            +
                  if attributes.key?(:'proxy_username')
         | 
| 176 | 
            +
                    self.proxy_username = attributes[:'proxy_username']
         | 
| 177 177 | 
             
                  end
         | 
| 178 178 |  | 
| 179 | 
            -
                  if attributes.key?(:' | 
| 180 | 
            -
                    self. | 
| 179 | 
            +
                  if attributes.key?(:'proxy_url')
         | 
| 180 | 
            +
                    self.proxy_url = attributes[:'proxy_url']
         | 
| 181 181 | 
             
                  end
         | 
| 182 182 |  | 
| 183 | 
            -
                  if attributes.key?(:' | 
| 184 | 
            -
                    self. | 
| 183 | 
            +
                  if attributes.key?(:'max_retries')
         | 
| 184 | 
            +
                    self.max_retries = attributes[:'max_retries']
         | 
| 185 185 | 
             
                  end
         | 
| 186 186 |  | 
| 187 | 
            -
                  if attributes.key?(:' | 
| 188 | 
            -
                    self. | 
| 187 | 
            +
                  if attributes.key?(:'connect_timeout')
         | 
| 188 | 
            +
                    self.connect_timeout = attributes[:'connect_timeout']
         | 
| 189 189 | 
             
                  end
         | 
| 190 190 |  | 
| 191 | 
            -
                  if attributes.key?(:' | 
| 192 | 
            -
                    self. | 
| 191 | 
            +
                  if attributes.key?(:'tls_validation')
         | 
| 192 | 
            +
                    self.tls_validation = attributes[:'tls_validation']
         | 
| 193 193 | 
             
                  end
         | 
| 194 194 |  | 
| 195 | 
            -
                  if attributes.key?(:' | 
| 196 | 
            -
                    self. | 
| 195 | 
            +
                  if attributes.key?(:'username')
         | 
| 196 | 
            +
                    self.username = attributes[:'username']
         | 
| 197 197 | 
             
                  end
         | 
| 198 198 |  | 
| 199 | 
            -
                  if attributes.key?(:' | 
| 200 | 
            -
                    self. | 
| 199 | 
            +
                  if attributes.key?(:'rate_limit')
         | 
| 200 | 
            +
                    self.rate_limit = attributes[:'rate_limit']
         | 
| 201 201 | 
             
                  end
         | 
| 202 202 |  | 
| 203 203 | 
             
                  if attributes.key?(:'client_key')
         | 
| 204 204 | 
             
                    self.client_key = attributes[:'client_key']
         | 
| 205 205 | 
             
                  end
         | 
| 206 206 |  | 
| 207 | 
            -
                  if attributes.key?(:' | 
| 208 | 
            -
                    self. | 
| 209 | 
            -
                  end
         | 
| 210 | 
            -
             | 
| 211 | 
            -
                  if attributes.key?(:'tls_validation')
         | 
| 212 | 
            -
                    self.tls_validation = attributes[:'tls_validation']
         | 
| 207 | 
            +
                  if attributes.key?(:'client_cert')
         | 
| 208 | 
            +
                    self.client_cert = attributes[:'client_cert']
         | 
| 213 209 | 
             
                  end
         | 
| 214 210 |  | 
| 215 | 
            -
                  if attributes.key?(:' | 
| 216 | 
            -
                    self. | 
| 211 | 
            +
                  if attributes.key?(:'sock_connect_timeout')
         | 
| 212 | 
            +
                    self.sock_connect_timeout = attributes[:'sock_connect_timeout']
         | 
| 217 213 | 
             
                  end
         | 
| 218 214 |  | 
| 219 | 
            -
                  if attributes.key?(:' | 
| 220 | 
            -
                    self. | 
| 215 | 
            +
                  if attributes.key?(:'download_concurrency')
         | 
| 216 | 
            +
                    self.download_concurrency = attributes[:'download_concurrency']
         | 
| 221 217 | 
             
                  end
         | 
| 222 218 |  | 
| 223 | 
            -
                  if attributes.key?(:' | 
| 224 | 
            -
                    self. | 
| 219 | 
            +
                  if attributes.key?(:'pulp_labels')
         | 
| 220 | 
            +
                    self.pulp_labels = attributes[:'pulp_labels']
         | 
| 225 221 | 
             
                  end
         | 
| 226 222 |  | 
| 227 223 | 
             
                  if attributes.key?(:'proxy_password')
         | 
| 228 224 | 
             
                    self.proxy_password = attributes[:'proxy_password']
         | 
| 229 225 | 
             
                  end
         | 
| 230 226 |  | 
| 231 | 
            -
                  if attributes.key?(:'connect_timeout')
         | 
| 232 | 
            -
                    self.connect_timeout = attributes[:'connect_timeout']
         | 
| 233 | 
            -
                  end
         | 
| 234 | 
            -
             | 
| 235 227 | 
             
                  if attributes.key?(:'headers')
         | 
| 236 228 | 
             
                    if (value = attributes[:'headers']).is_a?(Array)
         | 
| 237 229 | 
             
                      self.headers = value
         | 
| 238 230 | 
             
                    end
         | 
| 239 231 | 
             
                  end
         | 
| 240 232 |  | 
| 241 | 
            -
                  if attributes.key?(:' | 
| 242 | 
            -
                    self. | 
| 233 | 
            +
                  if attributes.key?(:'sock_read_timeout')
         | 
| 234 | 
            +
                    self.sock_read_timeout = attributes[:'sock_read_timeout']
         | 
| 235 | 
            +
                  end
         | 
| 236 | 
            +
             | 
| 237 | 
            +
                  if attributes.key?(:'name')
         | 
| 238 | 
            +
                    self.name = attributes[:'name']
         | 
| 243 239 | 
             
                  end
         | 
| 244 240 |  | 
| 245 241 | 
             
                  if attributes.key?(:'url')
         | 
| 246 242 | 
             
                    self.url = attributes[:'url']
         | 
| 247 243 | 
             
                  end
         | 
| 248 244 |  | 
| 249 | 
            -
                  if attributes.key?(:' | 
| 250 | 
            -
                    self. | 
| 245 | 
            +
                  if attributes.key?(:'total_timeout')
         | 
| 246 | 
            +
                    self.total_timeout = attributes[:'total_timeout']
         | 
| 251 247 | 
             
                  end
         | 
| 252 248 |  | 
| 253 | 
            -
                  if attributes.key?(:' | 
| 254 | 
            -
                    self. | 
| 249 | 
            +
                  if attributes.key?(:'ca_cert')
         | 
| 250 | 
            +
                    self.ca_cert = attributes[:'ca_cert']
         | 
| 251 | 
            +
                  end
         | 
| 252 | 
            +
             | 
| 253 | 
            +
                  if attributes.key?(:'password')
         | 
| 254 | 
            +
                    self.password = attributes[:'password']
         | 
| 255 255 | 
             
                  end
         | 
| 256 256 |  | 
| 257 257 | 
             
                  if attributes.key?(:'metadata_only')
         | 
| @@ -267,56 +267,52 @@ module PulpAnsibleClient | |
| 267 267 | 
             
                # @return Array for valid properties with the reasons
         | 
| 268 268 | 
             
                def list_invalid_properties
         | 
| 269 269 | 
             
                  invalid_properties = Array.new
         | 
| 270 | 
            -
                  if !@ | 
| 271 | 
            -
                    invalid_properties.push('invalid value for " | 
| 272 | 
            -
                  end
         | 
| 273 | 
            -
             | 
| 274 | 
            -
                  if !@client_cert.nil? && @client_cert.to_s.length < 1
         | 
| 275 | 
            -
                    invalid_properties.push('invalid value for "client_cert", the character length must be great than or equal to 1.')
         | 
| 270 | 
            +
                  if !@proxy_username.nil? && @proxy_username.to_s.length < 1
         | 
| 271 | 
            +
                    invalid_properties.push('invalid value for "proxy_username", the character length must be great than or equal to 1.')
         | 
| 276 272 | 
             
                  end
         | 
| 277 273 |  | 
| 278 | 
            -
                  if !@ | 
| 279 | 
            -
                    invalid_properties.push('invalid value for " | 
| 274 | 
            +
                  if !@proxy_url.nil? && @proxy_url.to_s.length < 1
         | 
| 275 | 
            +
                    invalid_properties.push('invalid value for "proxy_url", the character length must be great than or equal to 1.')
         | 
| 280 276 | 
             
                  end
         | 
| 281 277 |  | 
| 282 | 
            -
                  if !@ | 
| 283 | 
            -
                    invalid_properties.push('invalid value for " | 
| 278 | 
            +
                  if !@connect_timeout.nil? && @connect_timeout < 0.0
         | 
| 279 | 
            +
                    invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
         | 
| 284 280 | 
             
                  end
         | 
| 285 281 |  | 
| 286 | 
            -
                  if !@ | 
| 287 | 
            -
                    invalid_properties.push('invalid value for " | 
| 282 | 
            +
                  if !@username.nil? && @username.to_s.length < 1
         | 
| 283 | 
            +
                    invalid_properties.push('invalid value for "username", the character length must be great than or equal to 1.')
         | 
| 288 284 | 
             
                  end
         | 
| 289 285 |  | 
| 290 286 | 
             
                  if !@client_key.nil? && @client_key.to_s.length < 1
         | 
| 291 287 | 
             
                    invalid_properties.push('invalid value for "client_key", the character length must be great than or equal to 1.')
         | 
| 292 288 | 
             
                  end
         | 
| 293 289 |  | 
| 294 | 
            -
                  if !@ | 
| 295 | 
            -
                    invalid_properties.push('invalid value for " | 
| 296 | 
            -
                  end
         | 
| 297 | 
            -
             | 
| 298 | 
            -
                  if @name.nil?
         | 
| 299 | 
            -
                    invalid_properties.push('invalid value for "name", name cannot be nil.')
         | 
| 290 | 
            +
                  if !@client_cert.nil? && @client_cert.to_s.length < 1
         | 
| 291 | 
            +
                    invalid_properties.push('invalid value for "client_cert", the character length must be great than or equal to 1.')
         | 
| 300 292 | 
             
                  end
         | 
| 301 293 |  | 
| 302 | 
            -
                  if  | 
| 303 | 
            -
                    invalid_properties.push('invalid value for " | 
| 294 | 
            +
                  if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
         | 
| 295 | 
            +
                    invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
         | 
| 304 296 | 
             
                  end
         | 
| 305 297 |  | 
| 306 | 
            -
                  if !@ | 
| 307 | 
            -
                    invalid_properties.push('invalid value for " | 
| 298 | 
            +
                  if !@download_concurrency.nil? && @download_concurrency < 1
         | 
| 299 | 
            +
                    invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
         | 
| 308 300 | 
             
                  end
         | 
| 309 301 |  | 
| 310 302 | 
             
                  if !@proxy_password.nil? && @proxy_password.to_s.length < 1
         | 
| 311 303 | 
             
                    invalid_properties.push('invalid value for "proxy_password", the character length must be great than or equal to 1.')
         | 
| 312 304 | 
             
                  end
         | 
| 313 305 |  | 
| 314 | 
            -
                  if !@ | 
| 315 | 
            -
                    invalid_properties.push('invalid value for " | 
| 306 | 
            +
                  if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
         | 
| 307 | 
            +
                    invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
         | 
| 316 308 | 
             
                  end
         | 
| 317 309 |  | 
| 318 | 
            -
                  if  | 
| 319 | 
            -
                    invalid_properties.push('invalid value for " | 
| 310 | 
            +
                  if @name.nil?
         | 
| 311 | 
            +
                    invalid_properties.push('invalid value for "name", name cannot be nil.')
         | 
| 312 | 
            +
                  end
         | 
| 313 | 
            +
             | 
| 314 | 
            +
                  if @name.to_s.length < 1
         | 
| 315 | 
            +
                    invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
         | 
| 320 316 | 
             
                  end
         | 
| 321 317 |  | 
| 322 318 | 
             
                  if @url.nil?
         | 
| @@ -327,12 +323,16 @@ module PulpAnsibleClient | |
| 327 323 | 
             
                    invalid_properties.push('invalid value for "url", the character length must be great than or equal to 1.')
         | 
| 328 324 | 
             
                  end
         | 
| 329 325 |  | 
| 330 | 
            -
                  if !@ | 
| 331 | 
            -
                    invalid_properties.push('invalid value for " | 
| 326 | 
            +
                  if !@total_timeout.nil? && @total_timeout < 0.0
         | 
| 327 | 
            +
                    invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
         | 
| 332 328 | 
             
                  end
         | 
| 333 329 |  | 
| 334 | 
            -
                  if !@ | 
| 335 | 
            -
                    invalid_properties.push('invalid value for " | 
| 330 | 
            +
                  if !@ca_cert.nil? && @ca_cert.to_s.length < 1
         | 
| 331 | 
            +
                    invalid_properties.push('invalid value for "ca_cert", the character length must be great than or equal to 1.')
         | 
| 332 | 
            +
                  end
         | 
| 333 | 
            +
             | 
| 334 | 
            +
                  if !@password.nil? && @password.to_s.length < 1
         | 
| 335 | 
            +
                    invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
         | 
| 336 336 | 
             
                  end
         | 
| 337 337 |  | 
| 338 338 | 
             
                  if !@git_ref.nil? && @git_ref.to_s.length < 1
         | 
| @@ -345,75 +345,65 @@ module PulpAnsibleClient | |
| 345 345 | 
             
                # Check to see if the all the properties in the model are valid
         | 
| 346 346 | 
             
                # @return true if the model is valid
         | 
| 347 347 | 
             
                def valid?
         | 
| 348 | 
            -
                  return false if !@ | 
| 349 | 
            -
                  return false if !@ | 
| 348 | 
            +
                  return false if !@proxy_username.nil? && @proxy_username.to_s.length < 1
         | 
| 349 | 
            +
                  return false if !@proxy_url.nil? && @proxy_url.to_s.length < 1
         | 
| 350 | 
            +
                  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
         | 
| 350 351 | 
             
                  return false if !@username.nil? && @username.to_s.length < 1
         | 
| 351 | 
            -
                  return false if !@total_timeout.nil? && @total_timeout < 0.0
         | 
| 352 | 
            -
                  return false if !@password.nil? && @password.to_s.length < 1
         | 
| 353 352 | 
             
                  return false if !@client_key.nil? && @client_key.to_s.length < 1
         | 
| 354 | 
            -
                  return false if !@ | 
| 353 | 
            +
                  return false if !@client_cert.nil? && @client_cert.to_s.length < 1
         | 
| 354 | 
            +
                  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
         | 
| 355 | 
            +
                  return false if !@download_concurrency.nil? && @download_concurrency < 1
         | 
| 356 | 
            +
                  return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
         | 
| 357 | 
            +
                  return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
         | 
| 355 358 | 
             
                  return false if @name.nil?
         | 
| 356 359 | 
             
                  return false if @name.to_s.length < 1
         | 
| 357 | 
            -
                  return false if !@ca_cert.nil? && @ca_cert.to_s.length < 1
         | 
| 358 | 
            -
                  return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
         | 
| 359 | 
            -
                  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
         | 
| 360 | 
            -
                  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
         | 
| 361 360 | 
             
                  return false if @url.nil?
         | 
| 362 361 | 
             
                  return false if @url.to_s.length < 1
         | 
| 363 | 
            -
                  return false if !@ | 
| 364 | 
            -
                  return false if !@ | 
| 362 | 
            +
                  return false if !@total_timeout.nil? && @total_timeout < 0.0
         | 
| 363 | 
            +
                  return false if !@ca_cert.nil? && @ca_cert.to_s.length < 1
         | 
| 364 | 
            +
                  return false if !@password.nil? && @password.to_s.length < 1
         | 
| 365 365 | 
             
                  return false if !@git_ref.nil? && @git_ref.to_s.length < 1
         | 
| 366 366 | 
             
                  true
         | 
| 367 367 | 
             
                end
         | 
| 368 368 |  | 
| 369 369 | 
             
                # Custom attribute writer method with validation
         | 
| 370 | 
            -
                # @param [Object]  | 
| 371 | 
            -
                def  | 
| 372 | 
            -
                  if ! | 
| 373 | 
            -
                    fail ArgumentError, 'invalid value for " | 
| 374 | 
            -
                  end
         | 
| 375 | 
            -
             | 
| 376 | 
            -
                  @sock_read_timeout = sock_read_timeout
         | 
| 377 | 
            -
                end
         | 
| 378 | 
            -
             | 
| 379 | 
            -
                # Custom attribute writer method with validation
         | 
| 380 | 
            -
                # @param [Object] client_cert Value to be assigned
         | 
| 381 | 
            -
                def client_cert=(client_cert)
         | 
| 382 | 
            -
                  if !client_cert.nil? && client_cert.to_s.length < 1
         | 
| 383 | 
            -
                    fail ArgumentError, 'invalid value for "client_cert", the character length must be great than or equal to 1.'
         | 
| 370 | 
            +
                # @param [Object] proxy_username Value to be assigned
         | 
| 371 | 
            +
                def proxy_username=(proxy_username)
         | 
| 372 | 
            +
                  if !proxy_username.nil? && proxy_username.to_s.length < 1
         | 
| 373 | 
            +
                    fail ArgumentError, 'invalid value for "proxy_username", the character length must be great than or equal to 1.'
         | 
| 384 374 | 
             
                  end
         | 
| 385 375 |  | 
| 386 | 
            -
                  @ | 
| 376 | 
            +
                  @proxy_username = proxy_username
         | 
| 387 377 | 
             
                end
         | 
| 388 378 |  | 
| 389 379 | 
             
                # Custom attribute writer method with validation
         | 
| 390 | 
            -
                # @param [Object]  | 
| 391 | 
            -
                def  | 
| 392 | 
            -
                  if ! | 
| 393 | 
            -
                    fail ArgumentError, 'invalid value for " | 
| 380 | 
            +
                # @param [Object] proxy_url Value to be assigned
         | 
| 381 | 
            +
                def proxy_url=(proxy_url)
         | 
| 382 | 
            +
                  if !proxy_url.nil? && proxy_url.to_s.length < 1
         | 
| 383 | 
            +
                    fail ArgumentError, 'invalid value for "proxy_url", the character length must be great than or equal to 1.'
         | 
| 394 384 | 
             
                  end
         | 
| 395 385 |  | 
| 396 | 
            -
                  @ | 
| 386 | 
            +
                  @proxy_url = proxy_url
         | 
| 397 387 | 
             
                end
         | 
| 398 388 |  | 
| 399 389 | 
             
                # Custom attribute writer method with validation
         | 
| 400 | 
            -
                # @param [Object]  | 
| 401 | 
            -
                def  | 
| 402 | 
            -
                  if ! | 
| 403 | 
            -
                    fail ArgumentError, 'invalid value for " | 
| 390 | 
            +
                # @param [Object] connect_timeout Value to be assigned
         | 
| 391 | 
            +
                def connect_timeout=(connect_timeout)
         | 
| 392 | 
            +
                  if !connect_timeout.nil? && connect_timeout < 0.0
         | 
| 393 | 
            +
                    fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
         | 
| 404 394 | 
             
                  end
         | 
| 405 395 |  | 
| 406 | 
            -
                  @ | 
| 396 | 
            +
                  @connect_timeout = connect_timeout
         | 
| 407 397 | 
             
                end
         | 
| 408 398 |  | 
| 409 399 | 
             
                # Custom attribute writer method with validation
         | 
| 410 | 
            -
                # @param [Object]  | 
| 411 | 
            -
                def  | 
| 412 | 
            -
                  if ! | 
| 413 | 
            -
                    fail ArgumentError, 'invalid value for " | 
| 400 | 
            +
                # @param [Object] username Value to be assigned
         | 
| 401 | 
            +
                def username=(username)
         | 
| 402 | 
            +
                  if !username.nil? && username.to_s.length < 1
         | 
| 403 | 
            +
                    fail ArgumentError, 'invalid value for "username", the character length must be great than or equal to 1.'
         | 
| 414 404 | 
             
                  end
         | 
| 415 405 |  | 
| 416 | 
            -
                  @ | 
| 406 | 
            +
                  @username = username
         | 
| 417 407 | 
             
                end
         | 
| 418 408 |  | 
| 419 409 | 
             
                # Custom attribute writer method with validation
         | 
| @@ -427,37 +417,33 @@ module PulpAnsibleClient | |
| 427 417 | 
             
                end
         | 
| 428 418 |  | 
| 429 419 | 
             
                # Custom attribute writer method with validation
         | 
| 430 | 
            -
                # @param [Object]  | 
| 431 | 
            -
                def  | 
| 432 | 
            -
                  if ! | 
| 433 | 
            -
                    fail ArgumentError, 'invalid value for " | 
| 420 | 
            +
                # @param [Object] client_cert Value to be assigned
         | 
| 421 | 
            +
                def client_cert=(client_cert)
         | 
| 422 | 
            +
                  if !client_cert.nil? && client_cert.to_s.length < 1
         | 
| 423 | 
            +
                    fail ArgumentError, 'invalid value for "client_cert", the character length must be great than or equal to 1.'
         | 
| 434 424 | 
             
                  end
         | 
| 435 425 |  | 
| 436 | 
            -
                  @ | 
| 426 | 
            +
                  @client_cert = client_cert
         | 
| 437 427 | 
             
                end
         | 
| 438 428 |  | 
| 439 429 | 
             
                # Custom attribute writer method with validation
         | 
| 440 | 
            -
                # @param [Object]  | 
| 441 | 
            -
                def  | 
| 442 | 
            -
                  if  | 
| 443 | 
            -
                    fail ArgumentError, ' | 
| 444 | 
            -
                  end
         | 
| 445 | 
            -
             | 
| 446 | 
            -
                  if name.to_s.length < 1
         | 
| 447 | 
            -
                    fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
         | 
| 430 | 
            +
                # @param [Object] sock_connect_timeout Value to be assigned
         | 
| 431 | 
            +
                def sock_connect_timeout=(sock_connect_timeout)
         | 
| 432 | 
            +
                  if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
         | 
| 433 | 
            +
                    fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
         | 
| 448 434 | 
             
                  end
         | 
| 449 435 |  | 
| 450 | 
            -
                  @ | 
| 436 | 
            +
                  @sock_connect_timeout = sock_connect_timeout
         | 
| 451 437 | 
             
                end
         | 
| 452 438 |  | 
| 453 439 | 
             
                # Custom attribute writer method with validation
         | 
| 454 | 
            -
                # @param [Object]  | 
| 455 | 
            -
                def  | 
| 456 | 
            -
                  if ! | 
| 457 | 
            -
                    fail ArgumentError, 'invalid value for " | 
| 440 | 
            +
                # @param [Object] download_concurrency Value to be assigned
         | 
| 441 | 
            +
                def download_concurrency=(download_concurrency)
         | 
| 442 | 
            +
                  if !download_concurrency.nil? && download_concurrency < 1
         | 
| 443 | 
            +
                    fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
         | 
| 458 444 | 
             
                  end
         | 
| 459 445 |  | 
| 460 | 
            -
                  @ | 
| 446 | 
            +
                  @download_concurrency = download_concurrency
         | 
| 461 447 | 
             
                end
         | 
| 462 448 |  | 
| 463 449 | 
             
                # Custom attribute writer method with validation
         | 
| @@ -471,23 +457,27 @@ module PulpAnsibleClient | |
| 471 457 | 
             
                end
         | 
| 472 458 |  | 
| 473 459 | 
             
                # Custom attribute writer method with validation
         | 
| 474 | 
            -
                # @param [Object]  | 
| 475 | 
            -
                def  | 
| 476 | 
            -
                  if ! | 
| 477 | 
            -
                    fail ArgumentError, 'invalid value for " | 
| 460 | 
            +
                # @param [Object] sock_read_timeout Value to be assigned
         | 
| 461 | 
            +
                def sock_read_timeout=(sock_read_timeout)
         | 
| 462 | 
            +
                  if !sock_read_timeout.nil? && sock_read_timeout < 0.0
         | 
| 463 | 
            +
                    fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
         | 
| 478 464 | 
             
                  end
         | 
| 479 465 |  | 
| 480 | 
            -
                  @ | 
| 466 | 
            +
                  @sock_read_timeout = sock_read_timeout
         | 
| 481 467 | 
             
                end
         | 
| 482 468 |  | 
| 483 469 | 
             
                # Custom attribute writer method with validation
         | 
| 484 | 
            -
                # @param [Object]  | 
| 485 | 
            -
                def  | 
| 486 | 
            -
                  if  | 
| 487 | 
            -
                    fail ArgumentError, ' | 
| 470 | 
            +
                # @param [Object] name Value to be assigned
         | 
| 471 | 
            +
                def name=(name)
         | 
| 472 | 
            +
                  if name.nil?
         | 
| 473 | 
            +
                    fail ArgumentError, 'name cannot be nil'
         | 
| 488 474 | 
             
                  end
         | 
| 489 475 |  | 
| 490 | 
            -
                   | 
| 476 | 
            +
                  if name.to_s.length < 1
         | 
| 477 | 
            +
                    fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
         | 
| 478 | 
            +
                  end
         | 
| 479 | 
            +
             | 
| 480 | 
            +
                  @name = name
         | 
| 491 481 | 
             
                end
         | 
| 492 482 |  | 
| 493 483 | 
             
                # Custom attribute writer method with validation
         | 
| @@ -505,23 +495,33 @@ module PulpAnsibleClient | |
| 505 495 | 
             
                end
         | 
| 506 496 |  | 
| 507 497 | 
             
                # Custom attribute writer method with validation
         | 
| 508 | 
            -
                # @param [Object]  | 
| 509 | 
            -
                def  | 
| 510 | 
            -
                  if ! | 
| 511 | 
            -
                    fail ArgumentError, 'invalid value for " | 
| 498 | 
            +
                # @param [Object] total_timeout Value to be assigned
         | 
| 499 | 
            +
                def total_timeout=(total_timeout)
         | 
| 500 | 
            +
                  if !total_timeout.nil? && total_timeout < 0.0
         | 
| 501 | 
            +
                    fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
         | 
| 512 502 | 
             
                  end
         | 
| 513 503 |  | 
| 514 | 
            -
                  @ | 
| 504 | 
            +
                  @total_timeout = total_timeout
         | 
| 515 505 | 
             
                end
         | 
| 516 506 |  | 
| 517 507 | 
             
                # Custom attribute writer method with validation
         | 
| 518 | 
            -
                # @param [Object]  | 
| 519 | 
            -
                def  | 
| 520 | 
            -
                  if ! | 
| 521 | 
            -
                    fail ArgumentError, 'invalid value for " | 
| 508 | 
            +
                # @param [Object] ca_cert Value to be assigned
         | 
| 509 | 
            +
                def ca_cert=(ca_cert)
         | 
| 510 | 
            +
                  if !ca_cert.nil? && ca_cert.to_s.length < 1
         | 
| 511 | 
            +
                    fail ArgumentError, 'invalid value for "ca_cert", the character length must be great than or equal to 1.'
         | 
| 522 512 | 
             
                  end
         | 
| 523 513 |  | 
| 524 | 
            -
                  @ | 
| 514 | 
            +
                  @ca_cert = ca_cert
         | 
| 515 | 
            +
                end
         | 
| 516 | 
            +
             | 
| 517 | 
            +
                # Custom attribute writer method with validation
         | 
| 518 | 
            +
                # @param [Object] password Value to be assigned
         | 
| 519 | 
            +
                def password=(password)
         | 
| 520 | 
            +
                  if !password.nil? && password.to_s.length < 1
         | 
| 521 | 
            +
                    fail ArgumentError, 'invalid value for "password", the character length must be great than or equal to 1.'
         | 
| 522 | 
            +
                  end
         | 
| 523 | 
            +
             | 
| 524 | 
            +
                  @password = password
         | 
| 525 525 | 
             
                end
         | 
| 526 526 |  | 
| 527 527 | 
             
                # Custom attribute writer method with validation
         | 
| @@ -539,26 +539,26 @@ module PulpAnsibleClient | |
| 539 539 | 
             
                def ==(o)
         | 
| 540 540 | 
             
                  return true if self.equal?(o)
         | 
| 541 541 | 
             
                  self.class == o.class &&
         | 
| 542 | 
            -
                       | 
| 543 | 
            -
                      pulp_labels == o.pulp_labels &&
         | 
| 544 | 
            -
                      client_cert == o.client_cert &&
         | 
| 545 | 
            -
                      rate_limit == o.rate_limit &&
         | 
| 546 | 
            -
                      username == o.username &&
         | 
| 547 | 
            -
                      total_timeout == o.total_timeout &&
         | 
| 548 | 
            -
                      password == o.password &&
         | 
| 549 | 
            -
                      client_key == o.client_key &&
         | 
| 542 | 
            +
                      proxy_username == o.proxy_username &&
         | 
| 550 543 | 
             
                      proxy_url == o.proxy_url &&
         | 
| 551 | 
            -
                      tls_validation == o.tls_validation &&
         | 
| 552 544 | 
             
                      max_retries == o.max_retries &&
         | 
| 553 | 
            -
                      name == o.name &&
         | 
| 554 | 
            -
                      ca_cert == o.ca_cert &&
         | 
| 555 | 
            -
                      proxy_password == o.proxy_password &&
         | 
| 556 545 | 
             
                      connect_timeout == o.connect_timeout &&
         | 
| 557 | 
            -
                       | 
| 546 | 
            +
                      tls_validation == o.tls_validation &&
         | 
| 547 | 
            +
                      username == o.username &&
         | 
| 548 | 
            +
                      rate_limit == o.rate_limit &&
         | 
| 549 | 
            +
                      client_key == o.client_key &&
         | 
| 550 | 
            +
                      client_cert == o.client_cert &&
         | 
| 558 551 | 
             
                      sock_connect_timeout == o.sock_connect_timeout &&
         | 
| 559 | 
            -
                      url == o.url &&
         | 
| 560 | 
            -
                      proxy_username == o.proxy_username &&
         | 
| 561 552 | 
             
                      download_concurrency == o.download_concurrency &&
         | 
| 553 | 
            +
                      pulp_labels == o.pulp_labels &&
         | 
| 554 | 
            +
                      proxy_password == o.proxy_password &&
         | 
| 555 | 
            +
                      headers == o.headers &&
         | 
| 556 | 
            +
                      sock_read_timeout == o.sock_read_timeout &&
         | 
| 557 | 
            +
                      name == o.name &&
         | 
| 558 | 
            +
                      url == o.url &&
         | 
| 559 | 
            +
                      total_timeout == o.total_timeout &&
         | 
| 560 | 
            +
                      ca_cert == o.ca_cert &&
         | 
| 561 | 
            +
                      password == o.password &&
         | 
| 562 562 | 
             
                      metadata_only == o.metadata_only &&
         | 
| 563 563 | 
             
                      git_ref == o.git_ref
         | 
| 564 564 | 
             
                end
         | 
| @@ -572,7 +572,7 @@ module PulpAnsibleClient | |
| 572 572 | 
             
                # Calculates hash code according to all attributes.
         | 
| 573 573 | 
             
                # @return [Integer] Hash code
         | 
| 574 574 | 
             
                def hash
         | 
| 575 | 
            -
                  [ | 
| 575 | 
            +
                  [proxy_username, proxy_url, max_retries, connect_timeout, tls_validation, username, rate_limit, client_key, client_cert, sock_connect_timeout, download_concurrency, pulp_labels, proxy_password, headers, sock_read_timeout, name, url, total_timeout, ca_cert, password, metadata_only, git_ref].hash
         | 
| 576 576 | 
             
                end
         | 
| 577 577 |  | 
| 578 578 | 
             
                # Builds the object from hash
         |