pulp_ansible_client 0.17.1 → 0.17.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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AnsibleCollectionVersion.md +5 -5
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleGitRemote.md +27 -27
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/ContentCollectionVersionsApi.md +4 -4
- data/docs/PatchedansibleGitRemote.md +27 -27
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +18 -18
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.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 +152 -152
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +222 -222
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +2 -2
- data/spec/models/ansible_collection_version_response_spec.rb +3 -3
- data/spec/models/ansible_collection_version_spec.rb +3 -3
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +132 -132
| @@ -15,60 +15,60 @@ require 'date' | |
| 15 15 | 
             
            module PulpAnsibleClient
         | 
| 16 16 | 
             
              # A serializer for Git Collection Remotes.
         | 
| 17 17 | 
             
              class AnsibleGitRemoteResponse
         | 
| 18 | 
            -
                #  | 
| 19 | 
            -
                attr_accessor : | 
| 18 | 
            +
                # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
         | 
| 19 | 
            +
                attr_accessor :ca_cert
         | 
| 20 20 |  | 
| 21 | 
            -
                #  | 
| 22 | 
            -
                attr_accessor : | 
| 21 | 
            +
                # A PEM encoded client certificate used for authentication.
         | 
| 22 | 
            +
                attr_accessor :client_cert
         | 
| 23 | 
            +
             | 
| 24 | 
            +
                # aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
         | 
| 25 | 
            +
                attr_accessor :connect_timeout
         | 
| 23 26 |  | 
| 24 27 | 
             
                # List of hidden (write only) fields
         | 
| 25 28 | 
             
                attr_accessor :hidden_fields
         | 
| 26 29 |  | 
| 27 | 
            -
                #  | 
| 28 | 
            -
                attr_accessor : | 
| 29 | 
            -
             | 
| 30 | 
            -
                # Headers for aiohttp.Clientsession
         | 
| 31 | 
            -
                attr_accessor :headers
         | 
| 32 | 
            -
             | 
| 33 | 
            -
                # Total number of simultaneous connections. If not set then the default value will be used.
         | 
| 34 | 
            -
                attr_accessor :download_concurrency
         | 
| 30 | 
            +
                # The URL of an external content source.
         | 
| 31 | 
            +
                attr_accessor :url
         | 
| 35 32 |  | 
| 36 | 
            -
                 | 
| 37 | 
            -
                attr_accessor :client_cert
         | 
| 33 | 
            +
                attr_accessor :pulp_href
         | 
| 38 34 |  | 
| 39 35 | 
             
                # A unique name for this remote.
         | 
| 40 36 | 
             
                attr_accessor :name
         | 
| 41 37 |  | 
| 42 | 
            -
                #  | 
| 43 | 
            -
                attr_accessor : | 
| 44 | 
            -
             | 
| 45 | 
            -
                # Timestamp of the most recent update of the remote.
         | 
| 46 | 
            -
                attr_accessor :pulp_last_updated
         | 
| 47 | 
            -
             | 
| 48 | 
            -
                # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
         | 
| 49 | 
            -
                attr_accessor :ca_cert
         | 
| 38 | 
            +
                # The proxy URL. Format: scheme://host:port
         | 
| 39 | 
            +
                attr_accessor :proxy_url
         | 
| 50 40 |  | 
| 51 41 | 
             
                # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
         | 
| 52 42 | 
             
                attr_accessor :max_retries
         | 
| 53 43 |  | 
| 54 | 
            -
                # aiohttp.ClientTimeout. | 
| 55 | 
            -
                attr_accessor : | 
| 44 | 
            +
                # 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.
         | 
| 45 | 
            +
                attr_accessor :sock_read_timeout
         | 
| 56 46 |  | 
| 57 | 
            -
                # The  | 
| 58 | 
            -
                attr_accessor : | 
| 47 | 
            +
                # 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.
         | 
| 48 | 
            +
                attr_accessor :sock_connect_timeout
         | 
| 59 49 |  | 
| 60 | 
            -
                 | 
| 50 | 
            +
                # Timestamp of the most recent update of the remote.
         | 
| 51 | 
            +
                attr_accessor :pulp_last_updated
         | 
| 61 52 |  | 
| 62 | 
            -
                #  | 
| 63 | 
            -
                attr_accessor : | 
| 53 | 
            +
                # Limits requests per second for each concurrent downloader
         | 
| 54 | 
            +
                attr_accessor :rate_limit
         | 
| 64 55 |  | 
| 65 | 
            -
                 | 
| 56 | 
            +
                # Headers for aiohttp.Clientsession
         | 
| 57 | 
            +
                attr_accessor :headers
         | 
| 66 58 |  | 
| 67 59 | 
             
                # Timestamp of creation.
         | 
| 68 60 | 
             
                attr_accessor :pulp_created
         | 
| 69 61 |  | 
| 70 | 
            -
                 | 
| 71 | 
            -
             | 
| 62 | 
            +
                attr_accessor :pulp_labels
         | 
| 63 | 
            +
             | 
| 64 | 
            +
                # Total number of simultaneous connections. If not set then the default value will be used.
         | 
| 65 | 
            +
                attr_accessor :download_concurrency
         | 
| 66 | 
            +
             | 
| 67 | 
            +
                # If True, TLS peer validation must be performed.
         | 
| 68 | 
            +
                attr_accessor :tls_validation
         | 
| 69 | 
            +
             | 
| 70 | 
            +
                # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
         | 
| 71 | 
            +
                attr_accessor :total_timeout
         | 
| 72 72 |  | 
| 73 73 | 
             
                # If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.
         | 
| 74 74 | 
             
                attr_accessor :metadata_only
         | 
| @@ -79,25 +79,25 @@ module PulpAnsibleClient | |
| 79 79 | 
             
                # Attribute mapping from ruby-style variable name to JSON key.
         | 
| 80 80 | 
             
                def self.attribute_map
         | 
| 81 81 | 
             
                  {
         | 
| 82 | 
            -
                    :' | 
| 83 | 
            -
                    :' | 
| 82 | 
            +
                    :'ca_cert' => :'ca_cert',
         | 
| 83 | 
            +
                    :'client_cert' => :'client_cert',
         | 
| 84 | 
            +
                    :'connect_timeout' => :'connect_timeout',
         | 
| 84 85 | 
             
                    :'hidden_fields' => :'hidden_fields',
         | 
| 86 | 
            +
                    :'url' => :'url',
         | 
| 87 | 
            +
                    :'pulp_href' => :'pulp_href',
         | 
| 88 | 
            +
                    :'name' => :'name',
         | 
| 89 | 
            +
                    :'proxy_url' => :'proxy_url',
         | 
| 90 | 
            +
                    :'max_retries' => :'max_retries',
         | 
| 91 | 
            +
                    :'sock_read_timeout' => :'sock_read_timeout',
         | 
| 92 | 
            +
                    :'sock_connect_timeout' => :'sock_connect_timeout',
         | 
| 93 | 
            +
                    :'pulp_last_updated' => :'pulp_last_updated',
         | 
| 85 94 | 
             
                    :'rate_limit' => :'rate_limit',
         | 
| 86 95 | 
             
                    :'headers' => :'headers',
         | 
| 96 | 
            +
                    :'pulp_created' => :'pulp_created',
         | 
| 97 | 
            +
                    :'pulp_labels' => :'pulp_labels',
         | 
| 87 98 | 
             
                    :'download_concurrency' => :'download_concurrency',
         | 
| 88 | 
            -
                    :'client_cert' => :'client_cert',
         | 
| 89 | 
            -
                    :'name' => :'name',
         | 
| 90 99 | 
             
                    :'tls_validation' => :'tls_validation',
         | 
| 91 | 
            -
                    :'pulp_last_updated' => :'pulp_last_updated',
         | 
| 92 | 
            -
                    :'ca_cert' => :'ca_cert',
         | 
| 93 | 
            -
                    :'max_retries' => :'max_retries',
         | 
| 94 100 | 
             
                    :'total_timeout' => :'total_timeout',
         | 
| 95 | 
            -
                    :'url' => :'url',
         | 
| 96 | 
            -
                    :'pulp_labels' => :'pulp_labels',
         | 
| 97 | 
            -
                    :'sock_read_timeout' => :'sock_read_timeout',
         | 
| 98 | 
            -
                    :'pulp_href' => :'pulp_href',
         | 
| 99 | 
            -
                    :'pulp_created' => :'pulp_created',
         | 
| 100 | 
            -
                    :'connect_timeout' => :'connect_timeout',
         | 
| 101 101 | 
             
                    :'metadata_only' => :'metadata_only',
         | 
| 102 102 | 
             
                    :'git_ref' => :'git_ref'
         | 
| 103 103 | 
             
                  }
         | 
| @@ -106,25 +106,25 @@ module PulpAnsibleClient | |
| 106 106 | 
             
                # Attribute type mapping.
         | 
| 107 107 | 
             
                def self.openapi_types
         | 
| 108 108 | 
             
                  {
         | 
| 109 | 
            -
                    :' | 
| 110 | 
            -
                    :' | 
| 109 | 
            +
                    :'ca_cert' => :'String',
         | 
| 110 | 
            +
                    :'client_cert' => :'String',
         | 
| 111 | 
            +
                    :'connect_timeout' => :'Float',
         | 
| 111 112 | 
             
                    :'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFields>',
         | 
| 113 | 
            +
                    :'url' => :'String',
         | 
| 114 | 
            +
                    :'pulp_href' => :'String',
         | 
| 115 | 
            +
                    :'name' => :'String',
         | 
| 116 | 
            +
                    :'proxy_url' => :'String',
         | 
| 117 | 
            +
                    :'max_retries' => :'Integer',
         | 
| 118 | 
            +
                    :'sock_read_timeout' => :'Float',
         | 
| 119 | 
            +
                    :'sock_connect_timeout' => :'Float',
         | 
| 120 | 
            +
                    :'pulp_last_updated' => :'DateTime',
         | 
| 112 121 | 
             
                    :'rate_limit' => :'Integer',
         | 
| 113 122 | 
             
                    :'headers' => :'Array<Object>',
         | 
| 123 | 
            +
                    :'pulp_created' => :'DateTime',
         | 
| 124 | 
            +
                    :'pulp_labels' => :'Hash<String, String>',
         | 
| 114 125 | 
             
                    :'download_concurrency' => :'Integer',
         | 
| 115 | 
            -
                    :'client_cert' => :'String',
         | 
| 116 | 
            -
                    :'name' => :'String',
         | 
| 117 126 | 
             
                    :'tls_validation' => :'Boolean',
         | 
| 118 | 
            -
                    :'pulp_last_updated' => :'DateTime',
         | 
| 119 | 
            -
                    :'ca_cert' => :'String',
         | 
| 120 | 
            -
                    :'max_retries' => :'Integer',
         | 
| 121 127 | 
             
                    :'total_timeout' => :'Float',
         | 
| 122 | 
            -
                    :'url' => :'String',
         | 
| 123 | 
            -
                    :'pulp_labels' => :'Hash<String, String>',
         | 
| 124 | 
            -
                    :'sock_read_timeout' => :'Float',
         | 
| 125 | 
            -
                    :'pulp_href' => :'String',
         | 
| 126 | 
            -
                    :'pulp_created' => :'DateTime',
         | 
| 127 | 
            -
                    :'connect_timeout' => :'Float',
         | 
| 128 128 | 
             
                    :'metadata_only' => :'Boolean',
         | 
| 129 129 | 
             
                    :'git_ref' => :'String'
         | 
| 130 130 | 
             
                  }
         | 
| @@ -133,16 +133,16 @@ module PulpAnsibleClient | |
| 133 133 | 
             
                # List of attributes with nullable: true
         | 
| 134 134 | 
             
                def self.openapi_nullable
         | 
| 135 135 | 
             
                  Set.new([
         | 
| 136 | 
            -
                    :' | 
| 136 | 
            +
                    :'ca_cert',
         | 
| 137 | 
            +
                    :'client_cert',
         | 
| 138 | 
            +
                    :'connect_timeout',
         | 
| 137 139 | 
             
                    :'proxy_url',
         | 
| 140 | 
            +
                    :'max_retries',
         | 
| 141 | 
            +
                    :'sock_read_timeout',
         | 
| 142 | 
            +
                    :'sock_connect_timeout',
         | 
| 138 143 | 
             
                    :'rate_limit',
         | 
| 139 144 | 
             
                    :'download_concurrency',
         | 
| 140 | 
            -
                    :'client_cert',
         | 
| 141 | 
            -
                    :'ca_cert',
         | 
| 142 | 
            -
                    :'max_retries',
         | 
| 143 145 | 
             
                    :'total_timeout',
         | 
| 144 | 
            -
                    :'sock_read_timeout',
         | 
| 145 | 
            -
                    :'connect_timeout',
         | 
| 146 146 | 
             
                  ])
         | 
| 147 147 | 
             
                end
         | 
| 148 148 |  | 
| @@ -161,12 +161,16 @@ module PulpAnsibleClient | |
| 161 161 | 
             
                    h[k.to_sym] = v
         | 
| 162 162 | 
             
                  }
         | 
| 163 163 |  | 
| 164 | 
            -
                  if attributes.key?(:' | 
| 165 | 
            -
                    self. | 
| 164 | 
            +
                  if attributes.key?(:'ca_cert')
         | 
| 165 | 
            +
                    self.ca_cert = attributes[:'ca_cert']
         | 
| 166 166 | 
             
                  end
         | 
| 167 167 |  | 
| 168 | 
            -
                  if attributes.key?(:' | 
| 169 | 
            -
                    self. | 
| 168 | 
            +
                  if attributes.key?(:'client_cert')
         | 
| 169 | 
            +
                    self.client_cert = attributes[:'client_cert']
         | 
| 170 | 
            +
                  end
         | 
| 171 | 
            +
             | 
| 172 | 
            +
                  if attributes.key?(:'connect_timeout')
         | 
| 173 | 
            +
                    self.connect_timeout = attributes[:'connect_timeout']
         | 
| 170 174 | 
             
                  end
         | 
| 171 175 |  | 
| 172 176 | 
             
                  if attributes.key?(:'hidden_fields')
         | 
| @@ -175,50 +179,50 @@ module PulpAnsibleClient | |
| 175 179 | 
             
                    end
         | 
| 176 180 | 
             
                  end
         | 
| 177 181 |  | 
| 178 | 
            -
                  if attributes.key?(:' | 
| 179 | 
            -
                    self. | 
| 182 | 
            +
                  if attributes.key?(:'url')
         | 
| 183 | 
            +
                    self.url = attributes[:'url']
         | 
| 180 184 | 
             
                  end
         | 
| 181 185 |  | 
| 182 | 
            -
                  if attributes.key?(:' | 
| 183 | 
            -
                     | 
| 184 | 
            -
                      self.headers = value
         | 
| 185 | 
            -
                    end
         | 
| 186 | 
            +
                  if attributes.key?(:'pulp_href')
         | 
| 187 | 
            +
                    self.pulp_href = attributes[:'pulp_href']
         | 
| 186 188 | 
             
                  end
         | 
| 187 189 |  | 
| 188 | 
            -
                  if attributes.key?(:' | 
| 189 | 
            -
                    self. | 
| 190 | 
            +
                  if attributes.key?(:'name')
         | 
| 191 | 
            +
                    self.name = attributes[:'name']
         | 
| 190 192 | 
             
                  end
         | 
| 191 193 |  | 
| 192 | 
            -
                  if attributes.key?(:' | 
| 193 | 
            -
                    self. | 
| 194 | 
            +
                  if attributes.key?(:'proxy_url')
         | 
| 195 | 
            +
                    self.proxy_url = attributes[:'proxy_url']
         | 
| 194 196 | 
             
                  end
         | 
| 195 197 |  | 
| 196 | 
            -
                  if attributes.key?(:' | 
| 197 | 
            -
                    self. | 
| 198 | 
            +
                  if attributes.key?(:'max_retries')
         | 
| 199 | 
            +
                    self.max_retries = attributes[:'max_retries']
         | 
| 198 200 | 
             
                  end
         | 
| 199 201 |  | 
| 200 | 
            -
                  if attributes.key?(:' | 
| 201 | 
            -
                    self. | 
| 202 | 
            +
                  if attributes.key?(:'sock_read_timeout')
         | 
| 203 | 
            +
                    self.sock_read_timeout = attributes[:'sock_read_timeout']
         | 
| 202 204 | 
             
                  end
         | 
| 203 205 |  | 
| 204 | 
            -
                  if attributes.key?(:' | 
| 205 | 
            -
                    self. | 
| 206 | 
            +
                  if attributes.key?(:'sock_connect_timeout')
         | 
| 207 | 
            +
                    self.sock_connect_timeout = attributes[:'sock_connect_timeout']
         | 
| 206 208 | 
             
                  end
         | 
| 207 209 |  | 
| 208 | 
            -
                  if attributes.key?(:' | 
| 209 | 
            -
                    self. | 
| 210 | 
            +
                  if attributes.key?(:'pulp_last_updated')
         | 
| 211 | 
            +
                    self.pulp_last_updated = attributes[:'pulp_last_updated']
         | 
| 210 212 | 
             
                  end
         | 
| 211 213 |  | 
| 212 | 
            -
                  if attributes.key?(:' | 
| 213 | 
            -
                    self. | 
| 214 | 
            +
                  if attributes.key?(:'rate_limit')
         | 
| 215 | 
            +
                    self.rate_limit = attributes[:'rate_limit']
         | 
| 214 216 | 
             
                  end
         | 
| 215 217 |  | 
| 216 | 
            -
                  if attributes.key?(:' | 
| 217 | 
            -
                     | 
| 218 | 
            +
                  if attributes.key?(:'headers')
         | 
| 219 | 
            +
                    if (value = attributes[:'headers']).is_a?(Array)
         | 
| 220 | 
            +
                      self.headers = value
         | 
| 221 | 
            +
                    end
         | 
| 218 222 | 
             
                  end
         | 
| 219 223 |  | 
| 220 | 
            -
                  if attributes.key?(:' | 
| 221 | 
            -
                    self. | 
| 224 | 
            +
                  if attributes.key?(:'pulp_created')
         | 
| 225 | 
            +
                    self.pulp_created = attributes[:'pulp_created']
         | 
| 222 226 | 
             
                  end
         | 
| 223 227 |  | 
| 224 228 | 
             
                  if attributes.key?(:'pulp_labels')
         | 
| @@ -227,20 +231,16 @@ module PulpAnsibleClient | |
| 227 231 | 
             
                    end
         | 
| 228 232 | 
             
                  end
         | 
| 229 233 |  | 
| 230 | 
            -
                  if attributes.key?(:' | 
| 231 | 
            -
                    self. | 
| 232 | 
            -
                  end
         | 
| 233 | 
            -
             | 
| 234 | 
            -
                  if attributes.key?(:'pulp_href')
         | 
| 235 | 
            -
                    self.pulp_href = attributes[:'pulp_href']
         | 
| 234 | 
            +
                  if attributes.key?(:'download_concurrency')
         | 
| 235 | 
            +
                    self.download_concurrency = attributes[:'download_concurrency']
         | 
| 236 236 | 
             
                  end
         | 
| 237 237 |  | 
| 238 | 
            -
                  if attributes.key?(:' | 
| 239 | 
            -
                    self. | 
| 238 | 
            +
                  if attributes.key?(:'tls_validation')
         | 
| 239 | 
            +
                    self.tls_validation = attributes[:'tls_validation']
         | 
| 240 240 | 
             
                  end
         | 
| 241 241 |  | 
| 242 | 
            -
                  if attributes.key?(:' | 
| 243 | 
            -
                    self. | 
| 242 | 
            +
                  if attributes.key?(:'total_timeout')
         | 
| 243 | 
            +
                    self.total_timeout = attributes[:'total_timeout']
         | 
| 244 244 | 
             
                  end
         | 
| 245 245 |  | 
| 246 246 | 
             
                  if attributes.key?(:'metadata_only')
         | 
| @@ -256,32 +256,32 @@ module PulpAnsibleClient | |
| 256 256 | 
             
                # @return Array for valid properties with the reasons
         | 
| 257 257 | 
             
                def list_invalid_properties
         | 
| 258 258 | 
             
                  invalid_properties = Array.new
         | 
| 259 | 
            -
                  if !@ | 
| 260 | 
            -
                    invalid_properties.push('invalid value for " | 
| 259 | 
            +
                  if !@connect_timeout.nil? && @connect_timeout < 0.0
         | 
| 260 | 
            +
                    invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
         | 
| 261 261 | 
             
                  end
         | 
| 262 262 |  | 
| 263 | 
            -
                  if  | 
| 264 | 
            -
                    invalid_properties.push('invalid value for " | 
| 263 | 
            +
                  if @url.nil?
         | 
| 264 | 
            +
                    invalid_properties.push('invalid value for "url", url cannot be nil.')
         | 
| 265 265 | 
             
                  end
         | 
| 266 266 |  | 
| 267 267 | 
             
                  if @name.nil?
         | 
| 268 268 | 
             
                    invalid_properties.push('invalid value for "name", name cannot be nil.')
         | 
| 269 269 | 
             
                  end
         | 
| 270 270 |  | 
| 271 | 
            -
                  if !@ | 
| 272 | 
            -
                    invalid_properties.push('invalid value for " | 
| 271 | 
            +
                  if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
         | 
| 272 | 
            +
                    invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
         | 
| 273 273 | 
             
                  end
         | 
| 274 274 |  | 
| 275 | 
            -
                  if  | 
| 276 | 
            -
                    invalid_properties.push('invalid value for " | 
| 275 | 
            +
                  if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
         | 
| 276 | 
            +
                    invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
         | 
| 277 277 | 
             
                  end
         | 
| 278 278 |  | 
| 279 | 
            -
                  if !@ | 
| 280 | 
            -
                    invalid_properties.push('invalid value for " | 
| 279 | 
            +
                  if !@download_concurrency.nil? && @download_concurrency < 1
         | 
| 280 | 
            +
                    invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
         | 
| 281 281 | 
             
                  end
         | 
| 282 282 |  | 
| 283 | 
            -
                  if !@ | 
| 284 | 
            -
                    invalid_properties.push('invalid value for " | 
| 283 | 
            +
                  if !@total_timeout.nil? && @total_timeout < 0.0
         | 
| 284 | 
            +
                    invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
         | 
| 285 285 | 
             
                  end
         | 
| 286 286 |  | 
| 287 287 | 
             
                  invalid_properties
         | 
| @@ -290,16 +290,36 @@ module PulpAnsibleClient | |
| 290 290 | 
             
                # Check to see if the all the properties in the model are valid
         | 
| 291 291 | 
             
                # @return true if the model is valid
         | 
| 292 292 | 
             
                def valid?
         | 
| 293 | 
            +
                  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
         | 
| 294 | 
            +
                  return false if @url.nil?
         | 
| 295 | 
            +
                  return false if @name.nil?
         | 
| 296 | 
            +
                  return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
         | 
| 293 297 | 
             
                  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
         | 
| 294 298 | 
             
                  return false if !@download_concurrency.nil? && @download_concurrency < 1
         | 
| 295 | 
            -
                  return false if @name.nil?
         | 
| 296 299 | 
             
                  return false if !@total_timeout.nil? && @total_timeout < 0.0
         | 
| 297 | 
            -
                  return false if @url.nil?
         | 
| 298 | 
            -
                  return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
         | 
| 299 | 
            -
                  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
         | 
| 300 300 | 
             
                  true
         | 
| 301 301 | 
             
                end
         | 
| 302 302 |  | 
| 303 | 
            +
                # Custom attribute writer method with validation
         | 
| 304 | 
            +
                # @param [Object] connect_timeout Value to be assigned
         | 
| 305 | 
            +
                def connect_timeout=(connect_timeout)
         | 
| 306 | 
            +
                  if !connect_timeout.nil? && connect_timeout < 0.0
         | 
| 307 | 
            +
                    fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
         | 
| 308 | 
            +
                  end
         | 
| 309 | 
            +
             | 
| 310 | 
            +
                  @connect_timeout = connect_timeout
         | 
| 311 | 
            +
                end
         | 
| 312 | 
            +
             | 
| 313 | 
            +
                # Custom attribute writer method with validation
         | 
| 314 | 
            +
                # @param [Object] sock_read_timeout Value to be assigned
         | 
| 315 | 
            +
                def sock_read_timeout=(sock_read_timeout)
         | 
| 316 | 
            +
                  if !sock_read_timeout.nil? && sock_read_timeout < 0.0
         | 
| 317 | 
            +
                    fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
         | 
| 318 | 
            +
                  end
         | 
| 319 | 
            +
             | 
| 320 | 
            +
                  @sock_read_timeout = sock_read_timeout
         | 
| 321 | 
            +
                end
         | 
| 322 | 
            +
             | 
| 303 323 | 
             
                # Custom attribute writer method with validation
         | 
| 304 324 | 
             
                # @param [Object] sock_connect_timeout Value to be assigned
         | 
| 305 325 | 
             
                def sock_connect_timeout=(sock_connect_timeout)
         | 
| @@ -330,50 +350,30 @@ module PulpAnsibleClient | |
| 330 350 | 
             
                  @total_timeout = total_timeout
         | 
| 331 351 | 
             
                end
         | 
| 332 352 |  | 
| 333 | 
            -
                # Custom attribute writer method with validation
         | 
| 334 | 
            -
                # @param [Object] sock_read_timeout Value to be assigned
         | 
| 335 | 
            -
                def sock_read_timeout=(sock_read_timeout)
         | 
| 336 | 
            -
                  if !sock_read_timeout.nil? && sock_read_timeout < 0.0
         | 
| 337 | 
            -
                    fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
         | 
| 338 | 
            -
                  end
         | 
| 339 | 
            -
             | 
| 340 | 
            -
                  @sock_read_timeout = sock_read_timeout
         | 
| 341 | 
            -
                end
         | 
| 342 | 
            -
             | 
| 343 | 
            -
                # Custom attribute writer method with validation
         | 
| 344 | 
            -
                # @param [Object] connect_timeout Value to be assigned
         | 
| 345 | 
            -
                def connect_timeout=(connect_timeout)
         | 
| 346 | 
            -
                  if !connect_timeout.nil? && connect_timeout < 0.0
         | 
| 347 | 
            -
                    fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
         | 
| 348 | 
            -
                  end
         | 
| 349 | 
            -
             | 
| 350 | 
            -
                  @connect_timeout = connect_timeout
         | 
| 351 | 
            -
                end
         | 
| 352 | 
            -
             | 
| 353 353 | 
             
                # Checks equality by comparing each attribute.
         | 
| 354 354 | 
             
                # @param [Object] Object to be compared
         | 
| 355 355 | 
             
                def ==(o)
         | 
| 356 356 | 
             
                  return true if self.equal?(o)
         | 
| 357 357 | 
             
                  self.class == o.class &&
         | 
| 358 | 
            -
                       | 
| 359 | 
            -
                       | 
| 358 | 
            +
                      ca_cert == o.ca_cert &&
         | 
| 359 | 
            +
                      client_cert == o.client_cert &&
         | 
| 360 | 
            +
                      connect_timeout == o.connect_timeout &&
         | 
| 360 361 | 
             
                      hidden_fields == o.hidden_fields &&
         | 
| 362 | 
            +
                      url == o.url &&
         | 
| 363 | 
            +
                      pulp_href == o.pulp_href &&
         | 
| 364 | 
            +
                      name == o.name &&
         | 
| 365 | 
            +
                      proxy_url == o.proxy_url &&
         | 
| 366 | 
            +
                      max_retries == o.max_retries &&
         | 
| 367 | 
            +
                      sock_read_timeout == o.sock_read_timeout &&
         | 
| 368 | 
            +
                      sock_connect_timeout == o.sock_connect_timeout &&
         | 
| 369 | 
            +
                      pulp_last_updated == o.pulp_last_updated &&
         | 
| 361 370 | 
             
                      rate_limit == o.rate_limit &&
         | 
| 362 371 | 
             
                      headers == o.headers &&
         | 
| 372 | 
            +
                      pulp_created == o.pulp_created &&
         | 
| 373 | 
            +
                      pulp_labels == o.pulp_labels &&
         | 
| 363 374 | 
             
                      download_concurrency == o.download_concurrency &&
         | 
| 364 | 
            -
                      client_cert == o.client_cert &&
         | 
| 365 | 
            -
                      name == o.name &&
         | 
| 366 375 | 
             
                      tls_validation == o.tls_validation &&
         | 
| 367 | 
            -
                      pulp_last_updated == o.pulp_last_updated &&
         | 
| 368 | 
            -
                      ca_cert == o.ca_cert &&
         | 
| 369 | 
            -
                      max_retries == o.max_retries &&
         | 
| 370 376 | 
             
                      total_timeout == o.total_timeout &&
         | 
| 371 | 
            -
                      url == o.url &&
         | 
| 372 | 
            -
                      pulp_labels == o.pulp_labels &&
         | 
| 373 | 
            -
                      sock_read_timeout == o.sock_read_timeout &&
         | 
| 374 | 
            -
                      pulp_href == o.pulp_href &&
         | 
| 375 | 
            -
                      pulp_created == o.pulp_created &&
         | 
| 376 | 
            -
                      connect_timeout == o.connect_timeout &&
         | 
| 377 377 | 
             
                      metadata_only == o.metadata_only &&
         | 
| 378 378 | 
             
                      git_ref == o.git_ref
         | 
| 379 379 | 
             
                end
         | 
| @@ -387,7 +387,7 @@ module PulpAnsibleClient | |
| 387 387 | 
             
                # Calculates hash code according to all attributes.
         | 
| 388 388 | 
             
                # @return [Integer] Hash code
         | 
| 389 389 | 
             
                def hash
         | 
| 390 | 
            -
                  [ | 
| 390 | 
            +
                  [ca_cert, client_cert, connect_timeout, hidden_fields, url, pulp_href, name, proxy_url, max_retries, sock_read_timeout, sock_connect_timeout, pulp_last_updated, rate_limit, headers, pulp_created, pulp_labels, download_concurrency, tls_validation, total_timeout, metadata_only, git_ref].hash
         | 
| 391 391 | 
             
                end
         | 
| 392 392 |  | 
| 393 393 | 
             
                # Builds the object from hash
         |