From a221f3ee019bc77e29ebc8ab0f67741db49dae39 Mon Sep 17 00:00:00 2001 From: andrewgdewar Date: Thu, 1 Jun 2023 07:14:29 +0000 Subject: [PATCH] Update pulp bindings to v3.27.0 --- release/README.md | 2 +- release/api/openapi.yaml | 704 ++++++++++------- release/api_content_collection_versions.go | 24 +- release/api_distributions.go | 2 +- release/api_distributions_ansible.go | 2 +- release/api_distributions_apt.go | 2 +- release/api_distributions_artifacts.go | 2 +- release/api_distributions_container.go | 2 +- release/api_distributions_file.go | 2 +- release/api_distributions_maven.go | 2 +- release/api_distributions_ostree.go | 2 +- release/api_distributions_pypi.go | 2 +- release/api_distributions_rpm.go | 2 +- release/configuration.go | 2 +- release/docs/AnsibleCollectionVersion.md | 52 +- .../docs/AnsibleCollectionVersionResponse.md | 52 +- release/docs/AnsibleGitRemote.md | 544 ++++++------- release/docs/AnsibleGitRemoteResponse.md | 410 +++++----- release/docs/AnsibleRoleResponse.md | 42 +- release/docs/ArtifactDistributionResponse.md | 104 ++- .../docs/ContainerContainerDistribution.md | 68 +- .../ContainerContainerDistributionResponse.md | 120 +-- .../docs/ContainerContainerPushRepository.md | 110 +-- ...ontainerContainerPushRepositoryResponse.md | 214 +++--- release/docs/ContentCollectionVersionsAPI.md | 12 +- release/docs/DebAptDistribution.md | 26 + release/docs/DebAptDistributionResponse.md | 26 + release/docs/DistributionResponse.md | 26 + release/docs/DistributionsAPI.md | 4 +- release/docs/DistributionsAnsibleAPI.md | 4 +- release/docs/DistributionsAptAPI.md | 4 +- release/docs/DistributionsArtifactsAPI.md | 4 +- release/docs/DistributionsContainerAPI.md | 4 +- release/docs/DistributionsFileAPI.md | 4 +- release/docs/DistributionsMavenAPI.md | 4 +- release/docs/DistributionsOstreeAPI.md | 4 +- release/docs/DistributionsPypiAPI.md | 4 +- release/docs/DistributionsRpmAPI.md | 4 +- release/docs/FileFileDistribution.md | 26 + release/docs/FileFileDistributionResponse.md | 26 + release/docs/MavenMavenDistribution.md | 26 + .../docs/MavenMavenDistributionResponse.md | 26 + release/docs/OstreeOstreeDistribution.md | 26 + .../docs/OstreeOstreeDistributionResponse.md | 26 + release/docs/PatchedansibleGitRemote.md | 544 ++++++------- .../PatchedcontainerContainerDistribution.md | 78 +- ...PatchedcontainerContainerPushRepository.md | 110 +-- release/docs/PatcheddebAptDistribution.md | 26 + release/docs/PatchedfileFileDistribution.md | 26 + release/docs/PatchedmavenMavenDistribution.md | 26 + .../docs/PatchedostreeOstreeDistribution.md | 26 + .../docs/PatchedpythonPythonDistribution.md | 26 + release/docs/PatchedrpmRpmDistribution.md | 26 + release/docs/PythonPythonDistribution.md | 26 + .../docs/PythonPythonDistributionResponse.md | 26 + release/docs/RemotesGitAPI.md | 4 +- release/docs/RpmRpmDistribution.md | 26 + release/docs/RpmRpmDistributionResponse.md | 26 + release/docs/TaskResponse.md | 26 + release/go.mod | 2 +- release/go.sum | 4 +- release/model_ansible_collection_version.go | 72 +- ...del_ansible_collection_version_response.go | 70 +- release/model_ansible_git_remote.go | 716 +++++++++--------- release/model_ansible_git_remote_response.go | 586 +++++++------- release/model_ansible_role_response.go | 54 +- .../model_artifact_distribution_response.go | 145 ++-- .../model_container_container_distribution.go | 95 ++- ...ntainer_container_distribution_response.go | 165 ++-- ...del_container_container_push_repository.go | 138 ++-- ...iner_container_push_repository_response.go | 278 +++---- release/model_deb_apt_distribution.go | 41 + .../model_deb_apt_distribution_response.go | 41 + release/model_distribution_response.go | 41 + release/model_file_file_distribution.go | 41 + .../model_file_file_distribution_response.go | 41 + release/model_maven_maven_distribution.go | 41 + ...model_maven_maven_distribution_response.go | 41 + release/model_ostree_ostree_distribution.go | 41 + ...del_ostree_ostree_distribution_response.go | 41 + release/model_patchedansible_git_remote.go | 708 ++++++++--------- ...patchedcontainer_container_distribution.go | 115 ++- ...chedcontainer_container_push_repository.go | 138 ++-- release/model_patcheddeb_apt_distribution.go | 41 + .../model_patchedfile_file_distribution.go | 41 + .../model_patchedmaven_maven_distribution.go | 41 + ...model_patchedostree_ostree_distribution.go | 41 + ...model_patchedpython_python_distribution.go | 41 + release/model_patchedrpm_rpm_distribution.go | 41 + release/model_python_python_distribution.go | 41 + ...del_python_python_distribution_response.go | 41 + release/model_rpm_rpm_distribution.go | 41 + .../model_rpm_rpm_distribution_response.go | 41 + release/model_task_response.go | 35 + 94 files changed, 4822 insertions(+), 3054 deletions(-) diff --git a/release/README.md b/release/README.md index d3d9faf3..7793308e 100644 --- a/release/README.md +++ b/release/README.md @@ -6,7 +6,7 @@ Fetch, Upload, Organize, and Distribute Software Packages This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. - API version: v3 -- Package version: v3.26.1 +- Package version: v3.27.0 - Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit [https://pulpproject.org](https://pulpproject.org) diff --git a/release/api/openapi.yaml b/release/api/openapi.yaml index 9971dd99..e9307401 100644 --- a/release/api/openapi.yaml +++ b/release/api/openapi.yaml @@ -13,7 +13,7 @@ info: x-logo: url: https://pulp.plan.io/attachments/download/517478/pulp_logo_word_rectangle.svg x-pulp-app-versions: - core: 3.26.1 + core: 3.27.0 ansible: 0.18.0 certguard: 1.6.5 container: 2.15.0 @@ -15118,6 +15118,8 @@ paths: * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) + * `hidden` - Hidden + * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) explode: false @@ -15128,6 +15130,7 @@ paths: items: enum: - -base_path + - -hidden - -name - -pk - -pulp_created @@ -15136,6 +15139,7 @@ paths: - -pulp_last_updated - -pulp_type - base_path + - hidden - name - pk - pulp_created @@ -15383,6 +15387,8 @@ paths: * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) + * `hidden` - Hidden + * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) explode: false @@ -15393,6 +15399,7 @@ paths: items: enum: - -base_path + - -hidden - -name - -pk - -pulp_created @@ -15401,6 +15408,7 @@ paths: - -pulp_last_updated - -pulp_type - base_path + - hidden - name - pk - pulp_created @@ -15958,6 +15966,8 @@ paths: * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) + * `hidden` - Hidden + * `-hidden` - Hidden (descending) * `private` - Private * `-private` - Private (descending) * `description` - Description @@ -15973,6 +15983,7 @@ paths: enum: - -base_path - -description + - -hidden - -name - -pk - -private @@ -15983,6 +15994,7 @@ paths: - -pulp_type - base_path - description + - hidden - name - pk - private @@ -16534,6 +16546,8 @@ paths: * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) + * `hidden` - Hidden + * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) explode: false @@ -16544,6 +16558,7 @@ paths: items: enum: - -base_path + - -hidden - -name - -pk - -pulp_created @@ -16552,6 +16567,7 @@ paths: - -pulp_last_updated - -pulp_type - base_path + - hidden - name - pk - pulp_created @@ -16818,6 +16834,8 @@ paths: * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) + * `hidden` - Hidden + * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) explode: false @@ -16828,6 +16846,7 @@ paths: items: enum: - -base_path + - -hidden - -name - -pk - -pulp_created @@ -16836,6 +16855,7 @@ paths: - -pulp_last_updated - -pulp_type - base_path + - hidden - name - pk - pulp_created @@ -17232,6 +17252,8 @@ paths: * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) + * `hidden` - Hidden + * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) explode: false @@ -17242,6 +17264,7 @@ paths: items: enum: - -base_path + - -hidden - -name - -pk - -pulp_created @@ -17250,6 +17273,7 @@ paths: - -pulp_last_updated - -pulp_type - base_path + - hidden - name - pk - pulp_created @@ -17801,6 +17825,8 @@ paths: * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) + * `hidden` - Hidden + * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) explode: false @@ -17811,6 +17837,7 @@ paths: items: enum: - -base_path + - -hidden - -name - -pk - -pulp_created @@ -17819,6 +17846,7 @@ paths: - -pulp_last_updated - -pulp_type - base_path + - hidden - name - pk - pulp_created @@ -18204,6 +18232,8 @@ paths: * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) + * `hidden` - Hidden + * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) explode: false @@ -18214,6 +18244,7 @@ paths: items: enum: - -base_path + - -hidden - -name - -pk - -pulp_created @@ -18222,6 +18253,7 @@ paths: - -pulp_last_updated - -pulp_type - base_path + - hidden - name - pk - pulp_created @@ -18613,6 +18645,8 @@ paths: * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) + * `hidden` - Hidden + * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) explode: false @@ -18623,6 +18657,7 @@ paths: items: enum: - -base_path + - -hidden - -name - -pk - -pulp_created @@ -18631,6 +18666,7 @@ paths: - -pulp_last_updated - -pulp_type - base_path + - hidden - name - pk - pulp_created @@ -19022,6 +19058,8 @@ paths: * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) + * `hidden` - Hidden + * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) explode: false @@ -19032,6 +19070,7 @@ paths: items: enum: - -base_path + - -hidden - -name - -pk - -pulp_created @@ -19040,6 +19079,7 @@ paths: - -pulp_last_updated - -pulp_type - base_path + - hidden - name - pk - pulp_created @@ -52689,15 +52729,15 @@ components: pulp_labels: key: pulp_labels pulp_href: https://openapi-generator.tech + hidden: false base_url: base_url name: name - pulp_created: 2000-01-23T04:56:07.000+00:00 base_path: base_path + pulp_created: 2000-01-23T04:56:07.000+00:00 content_guard: https://openapi-generator.tech properties: - pulp_created: - description: Timestamp of creation. - format: date-time + base_url: + description: The URL for accessing the publication as defined by this distribution. readOnly: true type: string pulp_labels: @@ -52705,10 +52745,6 @@ components: nullable: true type: string type: object - base_url: - description: The URL for accessing the publication as defined by this distribution. - readOnly: true - type: string base_path: description: The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths @@ -52718,6 +52754,11 @@ components: format: uri readOnly: true type: string + pulp_created: + description: Timestamp of creation. + format: date-time + readOnly: true + type: string content_guard: description: An optional content-guard. format: uri @@ -52726,6 +52767,10 @@ components: name: description: "A unique name. Ex, `rawhide` and `stable`." type: string + hidden: + default: false + description: Whether this distribution should be shown in the content app. + type: boolean required: - base_path - name @@ -53634,6 +53679,7 @@ components: ) example: pulp_href: https://openapi-generator.tech + hidden: false pulp_labels: key: pulp_labels base_url: base_url @@ -53666,6 +53712,10 @@ components: format: uri nullable: true type: string + hidden: + default: false + description: Whether this distribution should be shown in the content app. + type: boolean pulp_labels: additionalProperties: nullable: true @@ -54902,18 +54952,20 @@ components: - pulp_labels: key: pulp_labels pulp_href: https://openapi-generator.tech + hidden: false base_url: base_url name: name - pulp_created: 2000-01-23T04:56:07.000+00:00 base_path: base_path + pulp_created: 2000-01-23T04:56:07.000+00:00 content_guard: https://openapi-generator.tech - pulp_labels: key: pulp_labels pulp_href: https://openapi-generator.tech + hidden: false base_url: base_url name: name - pulp_created: 2000-01-23T04:56:07.000+00:00 base_path: base_path + pulp_created: 2000-01-23T04:56:07.000+00:00 content_guard: https://openapi-generator.tech properties: count: @@ -55202,6 +55254,7 @@ components: count: 123 results: - pulp_href: https://openapi-generator.tech + hidden: false pulp_labels: key: pulp_labels base_url: base_url @@ -55211,6 +55264,7 @@ components: repository: https://openapi-generator.tech content_guard: https://openapi-generator.tech - pulp_href: https://openapi-generator.tech + hidden: false pulp_labels: key: pulp_labels base_url: base_url @@ -56288,6 +56342,7 @@ components: done: 6 error: key: "{}" + created_by: created_by logging_cid: logging_cid task_group: https://openapi-generator.tech created_resources: @@ -56322,6 +56377,7 @@ components: done: 6 error: key: "{}" + created_by: created_by logging_cid: logging_cid task_group: https://openapi-generator.tech created_resources: @@ -57062,14 +57118,14 @@ components: - headers: - "{}" - "{}" - rate_limit: 2 + rate_limit: 7 max_retries: 0 pulp_href: https://openapi-generator.tech tls_validation: true - connect_timeout: 0.5637376656633328 + connect_timeout: 0.23021358869347652 client_cert: client_cert + sock_read_timeout: 0.6027456183070403 pulp_last_updated: 2000-01-23T04:56:07.000+00:00 - sock_read_timeout: 0.7061401241503109 url: url download_concurrency: 1 pulp_labels: @@ -57077,7 +57133,7 @@ components: metadata_only: true name: name git_ref: git_ref - sock_connect_timeout: 0.14658129805029452 + sock_connect_timeout: 0.5637376656633328 pulp_created: 2000-01-23T04:56:07.000+00:00 hidden_fields: - is_set: true @@ -57086,18 +57142,18 @@ components: name: name proxy_url: proxy_url ca_cert: ca_cert - total_timeout: 0.6027456183070403 + total_timeout: 0.14658129805029452 - headers: - "{}" - "{}" - rate_limit: 2 + rate_limit: 7 max_retries: 0 pulp_href: https://openapi-generator.tech tls_validation: true - connect_timeout: 0.5637376656633328 + connect_timeout: 0.23021358869347652 client_cert: client_cert + sock_read_timeout: 0.6027456183070403 pulp_last_updated: 2000-01-23T04:56:07.000+00:00 - sock_read_timeout: 0.7061401241503109 url: url download_concurrency: 1 pulp_labels: @@ -57105,7 +57161,7 @@ components: metadata_only: true name: name git_ref: git_ref - sock_connect_timeout: 0.14658129805029452 + sock_connect_timeout: 0.5637376656633328 pulp_created: 2000-01-23T04:56:07.000+00:00 hidden_fields: - is_set: true @@ -57114,7 +57170,7 @@ components: name: name proxy_url: proxy_url ca_cert: ca_cert - total_timeout: 0.6027456183070403 + total_timeout: 0.14658129805029452 properties: count: example: 123 @@ -57360,31 +57416,33 @@ components: count: 123 results: - private: true - pulp_labels: - key: pulp_labels pulp_href: https://openapi-generator.tech - name: name - namespace: https://openapi-generator.tech + hidden: false description: description - pulp_created: 2000-01-23T04:56:07.000+00:00 base_path: base_path repository_version: https://openapi-generator.tech repository: https://openapi-generator.tech content_guard: https://openapi-generator.tech registry_path: registry_path - - private: true pulp_labels: key: pulp_labels - pulp_href: https://openapi-generator.tech name: name namespace: https://openapi-generator.tech - description: description pulp_created: 2000-01-23T04:56:07.000+00:00 + - private: true + pulp_href: https://openapi-generator.tech + hidden: false + description: description base_path: base_path repository_version: https://openapi-generator.tech repository: https://openapi-generator.tech content_guard: https://openapi-generator.tech registry_path: registry_path + pulp_labels: + key: pulp_labels + name: name + namespace: https://openapi-generator.tech + pulp_created: 2000-01-23T04:56:07.000+00:00 properties: count: example: 123 @@ -57449,8 +57507,8 @@ components: versions_href: https://openapi-generator.tech name: name description: description - pulp_created: 2000-01-23T04:56:07.000+00:00 retain_repo_versions: 1 + pulp_created: 2000-01-23T04:56:07.000+00:00 - manifest_signing_service: https://openapi-generator.tech latest_version_href: https://openapi-generator.tech pulp_labels: @@ -57459,8 +57517,8 @@ components: versions_href: https://openapi-generator.tech name: name description: description - pulp_created: 2000-01-23T04:56:07.000+00:00 retain_repo_versions: 1 + pulp_created: 2000-01-23T04:56:07.000+00:00 properties: count: example: 123 @@ -57756,6 +57814,7 @@ components: count: 123 results: - pulp_href: https://openapi-generator.tech + hidden: false pulp_labels: key: pulp_labels publication: https://openapi-generator.tech @@ -57766,6 +57825,7 @@ components: repository: https://openapi-generator.tech content_guard: https://openapi-generator.tech - pulp_href: https://openapi-generator.tech + hidden: false pulp_labels: key: pulp_labels publication: https://openapi-generator.tech @@ -58609,6 +58669,7 @@ components: count: 123 results: - pulp_href: https://openapi-generator.tech + hidden: false pulp_labels: key: pulp_labels publication: https://openapi-generator.tech @@ -58619,6 +58680,7 @@ components: repository: https://openapi-generator.tech content_guard: https://openapi-generator.tech - pulp_href: https://openapi-generator.tech + hidden: false pulp_labels: key: pulp_labels publication: https://openapi-generator.tech @@ -58862,6 +58924,7 @@ components: count: 123 results: - pulp_href: https://openapi-generator.tech + hidden: false pulp_labels: key: pulp_labels base_url: base_url @@ -58872,6 +58935,7 @@ components: remote: https://openapi-generator.tech content_guard: https://openapi-generator.tech - pulp_href: https://openapi-generator.tech + hidden: false pulp_labels: key: pulp_labels base_url: base_url @@ -59142,6 +59206,7 @@ components: count: 123 results: - pulp_href: https://openapi-generator.tech + hidden: false pulp_labels: key: pulp_labels base_url: base_url @@ -59152,6 +59217,7 @@ components: repository: https://openapi-generator.tech content_guard: https://openapi-generator.tech - pulp_href: https://openapi-generator.tech + hidden: false pulp_labels: key: pulp_labels base_url: base_url @@ -59436,6 +59502,7 @@ components: count: 123 results: - pulp_href: https://openapi-generator.tech + hidden: false pulp_labels: key: pulp_labels publication: https://openapi-generator.tech @@ -59448,6 +59515,7 @@ components: remote: https://openapi-generator.tech content_guard: https://openapi-generator.tech - pulp_href: https://openapi-generator.tech + hidden: false pulp_labels: key: pulp_labels publication: https://openapi-generator.tech @@ -60430,6 +60498,7 @@ components: count: 123 results: - pulp_href: https://openapi-generator.tech + hidden: false pulp_labels: key: pulp_labels publication: https://openapi-generator.tech @@ -60440,6 +60509,7 @@ components: repository: https://openapi-generator.tech content_guard: https://openapi-generator.tech - pulp_href: https://openapi-generator.tech + hidden: false pulp_labels: key: pulp_labels publication: https://openapi-generator.tech @@ -61466,53 +61536,40 @@ components: Patchedansible.GitRemote: description: A serializer for Git Collection Remotes. properties: + pulp_labels: + additionalProperties: + nullable: true + type: string + type: object max_retries: description: Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. format: int64 nullable: true type: integer - proxy_password: - description: The password to authenticate to the proxy. Extra leading and - trailing whitespace characters are not trimmed. + password: + description: The password to be used for authentication when syncing. Extra + leading and trailing whitespace characters are not trimmed. minLength: 1 nullable: true type: string writeOnly: true - client_cert: - description: A PEM encoded client certificate used for authentication. + ca_cert: + description: A PEM encoded CA certificate used to validate the server certificate + presented by the remote server. minLength: 1 nullable: true type: string - pulp_labels: - additionalProperties: - nullable: true - type: string - type: object - total_timeout: - description: "aiohttp.ClientTimeout.total (q.v.) for download-connections.\ + sock_read_timeout: + description: "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." format: double minimum: 0.0 nullable: true type: number - url: - description: The URL of an external content source. - minLength: 1 - type: string - tls_validation: - description: "If True, TLS peer validation must be performed." - type: boolean - password: - description: The password to be used for authentication when syncing. Extra - leading and trailing whitespace characters are not trimmed. - minLength: 1 - nullable: true - type: string - writeOnly: true - sock_connect_timeout: - description: "aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.\ + total_timeout: + description: "aiohttp.ClientTimeout.total (q.v.) for download-connections.\ \ The default is null, which will cause the default from the aiohttp library\ \ to be used." format: double @@ -61526,65 +61583,78 @@ components: minimum: 1 nullable: true type: integer - name: - description: A unique name for this remote. + proxy_password: + description: The password to authenticate to the proxy. Extra leading and + trailing whitespace characters are not trimmed. minLength: 1 + nullable: true type: string - connect_timeout: - description: "aiohttp.ClientTimeout.connect (q.v.) for download-connections.\ + writeOnly: true + proxy_username: + description: The username to authenticte to the proxy. + minLength: 1 + nullable: true + type: string + writeOnly: true + sock_connect_timeout: + description: "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." format: double minimum: 0.0 nullable: true type: number + tls_validation: + description: "If True, TLS peer validation must be performed." + type: boolean headers: description: Headers for aiohttp.Clientsession items: type: object type: array - proxy_url: - description: "The proxy URL. Format: scheme://host:port" - minLength: 1 - nullable: true - type: string - rate_limit: - description: Limits requests per second for each concurrent downloader - format: int64 - nullable: true - type: integer - ca_cert: - description: A PEM encoded CA certificate used to validate the server certificate - presented by the remote server. + client_key: + description: A PEM encoded private key used for authentication. minLength: 1 nullable: true type: string - sock_read_timeout: - description: "aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.\ + writeOnly: true + connect_timeout: + description: "aiohttp.ClientTimeout.connect (q.v.) for download-connections.\ \ The default is null, which will cause the default from the aiohttp library\ \ to be used." format: double minimum: 0.0 nullable: true type: number - proxy_username: - description: The username to authenticte to the proxy. + proxy_url: + description: "The proxy URL. Format: scheme://host:port" minLength: 1 nullable: true type: string - writeOnly: true + rate_limit: + description: Limits requests per second for each concurrent downloader + format: int64 + nullable: true + type: integer + name: + description: A unique name for this remote. + minLength: 1 + type: string username: description: The username to be used for authentication when syncing. minLength: 1 nullable: true type: string writeOnly: true - client_key: - description: A PEM encoded private key used for authentication. + client_cert: + description: A PEM encoded client certificate used for authentication. minLength: 1 nullable: true type: string - writeOnly: true + url: + description: The URL of an external content source. + minLength: 1 + type: string metadata_only: description: "If True, only metadata about the content will be stored in\ \ Pulp. Clients will retrieve content from the remote URL." @@ -61770,17 +61840,17 @@ components: nullable: true type: string type: object + repository: + description: The latest RepositoryVersion for this Repository will be served. + format: uri + nullable: true + type: string base_path: description: The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. "foo" and "foo/bar") minLength: 1 type: string - repository: - description: The latest RepositoryVersion for this Repository will be served. - format: uri - nullable: true - type: string content_guard: description: "An optional content-guard. If none is specified, a default\ \ one will be used." @@ -61790,6 +61860,10 @@ components: description: "A unique name. Ex, `rawhide` and `stable`." minLength: 1 type: string + hidden: + default: false + description: Whether this distribution should be shown in the content app. + type: boolean repository_version: description: RepositoryVersion to be served format: uri @@ -61808,19 +61882,14 @@ components: Patchedcontainer.ContainerPushRepository: description: Serializer for Container Push Repositories. properties: - manifest_signing_service: - description: A reference to an associated signing service. - format: uri - nullable: true - type: string pulp_labels: additionalProperties: nullable: true type: string type: object - description: - description: An optional description. - minLength: 1 + manifest_signing_service: + description: A reference to an associated signing service. + format: uri nullable: true type: string retain_repo_versions: @@ -61834,6 +61903,11 @@ components: description: A unique name for this repository. minLength: 1 type: string + description: + description: An optional description. + minLength: 1 + nullable: true + type: string type: object Patchedcontainer.ContainerRemote: description: A Serializer for ContainerRemote. @@ -62052,6 +62126,10 @@ components: format: uri nullable: true type: string + hidden: + default: false + description: Whether this distribution should be shown in the content app. + type: boolean pulp_labels: additionalProperties: nullable: true @@ -62313,6 +62391,10 @@ components: format: uri nullable: true type: string + hidden: + default: false + description: Whether this distribution should be shown in the content app. + type: boolean pulp_labels: additionalProperties: nullable: true @@ -62522,6 +62604,10 @@ components: format: uri nullable: true type: string + hidden: + default: false + description: Whether this distribution should be shown in the content app. + type: boolean pulp_labels: additionalProperties: nullable: true @@ -62729,6 +62815,10 @@ components: format: uri nullable: true type: string + hidden: + default: false + description: Whether this distribution should be shown in the content app. + type: boolean pulp_labels: additionalProperties: nullable: true @@ -62954,6 +63044,10 @@ components: format: uri nullable: true type: string + hidden: + default: false + description: Whether this distribution should be shown in the content app. + type: boolean pulp_labels: additionalProperties: nullable: true @@ -63225,6 +63319,10 @@ components: format: uri nullable: true type: string + hidden: + default: false + description: Whether this distribution should be shown in the content app. + type: boolean pulp_labels: additionalProperties: nullable: true @@ -65182,6 +65280,7 @@ components: done: 6 error: key: "{}" + created_by: created_by logging_cid: logging_cid task_group: https://openapi-generator.tech created_resources: @@ -65218,6 +65317,10 @@ components: logging_cid: description: The logging correlation id associated with this task type: string + created_by: + description: User who dispatched this task. + readOnly: true + type: string started_at: description: Timestamp of the when this task started execution. format: date-time @@ -66745,22 +66848,22 @@ components: ansible.CollectionVersion: description: A serializer for CollectionVersion Content. properties: - artifact: - description: Artifact file representing the physical content + repository: + description: A URI of a repository the new content unit should be associated + with. format: uri type: string + writeOnly: true file: description: An uploaded file that may be turned into the artifact of the content unit. format: binary type: string writeOnly: true - repository: - description: A URI of a repository the new content unit should be associated - with. + artifact: + description: Artifact file representing the physical content format: uri type: string - writeOnly: true upload: description: An uncommitted upload that may be turned into the artifact of the content unit. @@ -66868,11 +66971,6 @@ components: - authors homepage: homepage properties: - pulp_created: - description: Timestamp of creation. - format: date-time - readOnly: true - type: string artifact: description: Artifact file representing the physical content format: uri @@ -66881,6 +66979,11 @@ components: format: uri readOnly: true type: string + pulp_created: + description: Timestamp of creation. + format: date-time + readOnly: true + type: string sha256: description: The SHA-256 checksum if available. readOnly: true @@ -67059,53 +67162,40 @@ components: ansible.GitRemote: description: A serializer for Git Collection Remotes. properties: + pulp_labels: + additionalProperties: + nullable: true + type: string + type: object max_retries: description: Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. format: int64 nullable: true type: integer - proxy_password: - description: The password to authenticate to the proxy. Extra leading and - trailing whitespace characters are not trimmed. + password: + description: The password to be used for authentication when syncing. Extra + leading and trailing whitespace characters are not trimmed. minLength: 1 nullable: true type: string writeOnly: true - client_cert: - description: A PEM encoded client certificate used for authentication. + ca_cert: + description: A PEM encoded CA certificate used to validate the server certificate + presented by the remote server. minLength: 1 nullable: true type: string - pulp_labels: - additionalProperties: - nullable: true - type: string - type: object - total_timeout: - description: "aiohttp.ClientTimeout.total (q.v.) for download-connections.\ + sock_read_timeout: + description: "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." format: double minimum: 0.0 nullable: true type: number - url: - description: The URL of an external content source. - minLength: 1 - type: string - tls_validation: - description: "If True, TLS peer validation must be performed." - type: boolean - password: - description: The password to be used for authentication when syncing. Extra - leading and trailing whitespace characters are not trimmed. - minLength: 1 - nullable: true - type: string - writeOnly: true - sock_connect_timeout: - description: "aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.\ + total_timeout: + description: "aiohttp.ClientTimeout.total (q.v.) for download-connections.\ \ The default is null, which will cause the default from the aiohttp library\ \ to be used." format: double @@ -67119,65 +67209,78 @@ components: minimum: 1 nullable: true type: integer - name: - description: A unique name for this remote. + proxy_password: + description: The password to authenticate to the proxy. Extra leading and + trailing whitespace characters are not trimmed. minLength: 1 + nullable: true type: string - connect_timeout: - description: "aiohttp.ClientTimeout.connect (q.v.) for download-connections.\ + writeOnly: true + proxy_username: + description: The username to authenticte to the proxy. + minLength: 1 + nullable: true + type: string + writeOnly: true + sock_connect_timeout: + description: "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." format: double minimum: 0.0 nullable: true type: number + tls_validation: + description: "If True, TLS peer validation must be performed." + type: boolean headers: description: Headers for aiohttp.Clientsession items: type: object type: array - proxy_url: - description: "The proxy URL. Format: scheme://host:port" - minLength: 1 - nullable: true - type: string - rate_limit: - description: Limits requests per second for each concurrent downloader - format: int64 - nullable: true - type: integer - ca_cert: - description: A PEM encoded CA certificate used to validate the server certificate - presented by the remote server. + client_key: + description: A PEM encoded private key used for authentication. minLength: 1 nullable: true type: string - sock_read_timeout: - description: "aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.\ + writeOnly: true + connect_timeout: + description: "aiohttp.ClientTimeout.connect (q.v.) for download-connections.\ \ The default is null, which will cause the default from the aiohttp library\ \ to be used." format: double minimum: 0.0 nullable: true type: number - proxy_username: - description: The username to authenticte to the proxy. + proxy_url: + description: "The proxy URL. Format: scheme://host:port" minLength: 1 nullable: true type: string - writeOnly: true + rate_limit: + description: Limits requests per second for each concurrent downloader + format: int64 + nullable: true + type: integer + name: + description: A unique name for this remote. + minLength: 1 + type: string username: description: The username to be used for authentication when syncing. minLength: 1 nullable: true type: string writeOnly: true - client_key: - description: A PEM encoded private key used for authentication. + client_cert: + description: A PEM encoded client certificate used for authentication. minLength: 1 nullable: true type: string - writeOnly: true + url: + description: The URL of an external content source. + minLength: 1 + type: string metadata_only: description: "If True, only metadata about the content will be stored in\ \ Pulp. Clients will retrieve content from the remote URL." @@ -67196,14 +67299,14 @@ components: headers: - "{}" - "{}" - rate_limit: 2 + rate_limit: 7 max_retries: 0 pulp_href: https://openapi-generator.tech tls_validation: true - connect_timeout: 0.5637376656633328 + connect_timeout: 0.23021358869347652 client_cert: client_cert + sock_read_timeout: 0.6027456183070403 pulp_last_updated: 2000-01-23T04:56:07.000+00:00 - sock_read_timeout: 0.7061401241503109 url: url download_concurrency: 1 pulp_labels: @@ -67211,7 +67314,7 @@ components: metadata_only: true name: name git_ref: git_ref - sock_connect_timeout: 0.14658129805029452 + sock_connect_timeout: 0.5637376656633328 pulp_created: 2000-01-23T04:56:07.000+00:00 hidden_fields: - is_set: true @@ -67220,28 +67323,32 @@ components: name: name proxy_url: proxy_url ca_cert: ca_cert - total_timeout: 0.6027456183070403 + total_timeout: 0.14658129805029452 properties: + pulp_labels: + additionalProperties: + nullable: true + type: string + type: object max_retries: description: Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. format: int64 nullable: true type: integer - pulp_created: - description: Timestamp of creation. - format: date-time - readOnly: true - type: string - client_cert: - description: A PEM encoded client certificate used for authentication. + ca_cert: + description: A PEM encoded CA certificate used to validate the server certificate + presented by the remote server. nullable: true type: string - pulp_labels: - additionalProperties: - nullable: true - type: string - type: object + sock_read_timeout: + description: "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." + format: double + minimum: 0.0 + nullable: true + type: number total_timeout: description: "aiohttp.ClientTimeout.total (q.v.) for download-connections.\ \ The default is null, which will cause the default from the aiohttp library\ @@ -67250,22 +67357,22 @@ components: minimum: 0.0 nullable: true type: number - url: - description: The URL of an external content source. - type: string pulp_href: format: uri readOnly: true type: string - tls_validation: - description: "If True, TLS peer validation must be performed." - type: boolean - hidden_fields: - description: List of hidden (write only) fields - items: - $ref: '#/components/schemas/RemoteResponse_hidden_fields_inner' + pulp_created: + description: Timestamp of creation. + format: date-time readOnly: true - type: array + type: string + download_concurrency: + description: Total number of simultaneous connections. If not set then the + default value will be used. + format: int64 + minimum: 1 + nullable: true + type: integer sock_connect_timeout: description: "aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.\ \ The default is null, which will cause the default from the aiohttp library\ @@ -67274,16 +67381,19 @@ components: minimum: 0.0 nullable: true type: number - download_concurrency: - description: Total number of simultaneous connections. If not set then the - default value will be used. - format: int64 - minimum: 1 - nullable: true - type: integer - name: - description: A unique name for this remote. + pulp_last_updated: + description: Timestamp of the most recent update of the remote. + format: date-time + readOnly: true type: string + tls_validation: + description: "If True, TLS peer validation must be performed." + type: boolean + headers: + description: Headers for aiohttp.Clientsession + items: + type: object + type: array connect_timeout: description: "aiohttp.ClientTimeout.connect (q.v.) for download-connections.\ \ The default is null, which will cause the default from the aiohttp library\ @@ -67292,10 +67402,11 @@ components: minimum: 0.0 nullable: true type: number - headers: - description: Headers for aiohttp.Clientsession + hidden_fields: + description: List of hidden (write only) fields items: - type: object + $ref: '#/components/schemas/RemoteResponse_hidden_fields_inner' + readOnly: true type: array proxy_url: description: "The proxy URL. Format: scheme://host:port" @@ -67306,24 +67417,16 @@ components: format: int64 nullable: true type: integer - ca_cert: - description: A PEM encoded CA certificate used to validate the server certificate - presented by the remote server. + name: + description: A unique name for this remote. + type: string + client_cert: + description: A PEM encoded client certificate used for authentication. nullable: true type: string - pulp_last_updated: - description: Timestamp of the most recent update of the remote. - format: date-time - readOnly: true + url: + description: The URL of an external content source. type: string - sock_read_timeout: - description: "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." - format: double - minimum: 0.0 - nullable: true - type: number metadata_only: description: "If True, only metadata about the content will be stored in\ \ Pulp. Clients will retrieve content from the remote URL." @@ -67652,15 +67755,15 @@ components: format: uri readOnly: true type: string - artifact: - description: Artifact file representing the physical content - format: uri - type: string pulp_created: description: Timestamp of creation. format: date-time readOnly: true type: string + artifact: + description: Artifact file representing the physical content + format: uri + type: string version: type: string name: @@ -67831,17 +67934,17 @@ components: nullable: true type: string type: object + repository: + description: The latest RepositoryVersion for this Repository will be served. + format: uri + nullable: true + type: string base_path: description: The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. "foo" and "foo/bar") minLength: 1 type: string - repository: - description: The latest RepositoryVersion for this Repository will be served. - format: uri - nullable: true - type: string content_guard: description: "An optional content-guard. If none is specified, a default\ \ one will be used." @@ -67851,6 +67954,10 @@ components: description: "A unique name. Ex, `rawhide` and `stable`." minLength: 1 type: string + hidden: + default: false + description: Whether this distribution should be shown in the content app. + type: boolean repository_version: description: RepositoryVersion to be served format: uri @@ -67873,43 +67980,44 @@ components: description: A serializer for ContainerDistribution. example: private: true - pulp_labels: - key: pulp_labels pulp_href: https://openapi-generator.tech - name: name - namespace: https://openapi-generator.tech + hidden: false description: description - pulp_created: 2000-01-23T04:56:07.000+00:00 base_path: base_path repository_version: https://openapi-generator.tech repository: https://openapi-generator.tech content_guard: https://openapi-generator.tech registry_path: registry_path + pulp_labels: + key: pulp_labels + name: name + namespace: https://openapi-generator.tech + pulp_created: 2000-01-23T04:56:07.000+00:00 properties: - pulp_created: - description: Timestamp of creation. - format: date-time - readOnly: true - type: string pulp_labels: additionalProperties: nullable: true type: string type: object - base_path: - description: The base (relative) path component of the published url. Avoid - paths that overlap with other distribution base paths - (e.g. "foo" and "foo/bar") - type: string repository: description: The latest RepositoryVersion for this Repository will be served. format: uri nullable: true type: string + base_path: + description: The base (relative) path component of the published url. Avoid + paths that overlap with other distribution base paths + (e.g. "foo" and "foo/bar") + type: string pulp_href: format: uri readOnly: true type: string + pulp_created: + description: Timestamp of creation. + format: date-time + readOnly: true + type: string content_guard: description: "An optional content-guard. If none is specified, a default\ \ one will be used." @@ -67918,6 +68026,10 @@ components: name: description: "A unique name. Ex, `rawhide` and `stable`." type: string + hidden: + default: false + description: Whether this distribution should be shown in the content app. + type: boolean repository_version: description: RepositoryVersion to be served format: uri @@ -67978,19 +68090,14 @@ components: container.ContainerPushRepository: description: Serializer for Container Push Repositories. properties: - manifest_signing_service: - description: A reference to an associated signing service. - format: uri - nullable: true - type: string pulp_labels: additionalProperties: nullable: true type: string type: object - description: - description: An optional description. - minLength: 1 + manifest_signing_service: + description: A reference to an associated signing service. + format: uri nullable: true type: string retain_repo_versions: @@ -68004,6 +68111,11 @@ components: description: A unique name for this repository. minLength: 1 type: string + description: + description: An optional description. + minLength: 1 + nullable: true + type: string required: - name type: object @@ -68018,35 +68130,18 @@ components: versions_href: https://openapi-generator.tech name: name description: description - pulp_created: 2000-01-23T04:56:07.000+00:00 retain_repo_versions: 1 + pulp_created: 2000-01-23T04:56:07.000+00:00 properties: - pulp_created: - description: Timestamp of creation. - format: date-time - readOnly: true - type: string - manifest_signing_service: - description: A reference to an associated signing service. - format: uri - nullable: true - type: string pulp_labels: additionalProperties: nullable: true type: string type: object - description: - description: An optional description. - nullable: true - type: string - latest_version_href: - format: uri - readOnly: true - type: string - pulp_href: + manifest_signing_service: + description: A reference to an associated signing service. format: uri - readOnly: true + nullable: true type: string retain_repo_versions: description: Retain X versions of the repository. Default is null which @@ -68055,6 +68150,15 @@ components: minimum: 1 nullable: true type: integer + pulp_href: + format: uri + readOnly: true + type: string + pulp_created: + description: Timestamp of creation. + format: date-time + readOnly: true + type: string name: description: A unique name for this repository. type: string @@ -68062,6 +68166,14 @@ components: format: uri readOnly: true type: string + description: + description: An optional description. + nullable: true + type: string + latest_version_href: + format: uri + readOnly: true + type: string required: - name type: object @@ -68685,6 +68797,10 @@ components: format: uri nullable: true type: string + hidden: + default: false + description: Whether this distribution should be shown in the content app. + type: boolean pulp_labels: additionalProperties: nullable: true @@ -68712,6 +68828,7 @@ components: description: Serializer for AptDistributions. example: pulp_href: https://openapi-generator.tech + hidden: false pulp_labels: key: pulp_labels publication: https://openapi-generator.tech @@ -68745,6 +68862,10 @@ components: format: uri nullable: true type: string + hidden: + default: false + description: Whether this distribution should be shown in the content app. + type: boolean pulp_labels: additionalProperties: nullable: true @@ -70408,6 +70529,10 @@ components: format: uri nullable: true type: string + hidden: + default: false + description: Whether this distribution should be shown in the content app. + type: boolean pulp_labels: additionalProperties: nullable: true @@ -70435,6 +70560,7 @@ components: description: Serializer for File Distributions. example: pulp_href: https://openapi-generator.tech + hidden: false pulp_labels: key: pulp_labels publication: https://openapi-generator.tech @@ -70468,6 +70594,10 @@ components: format: uri nullable: true type: string + hidden: + default: false + description: Whether this distribution should be shown in the content app. + type: boolean pulp_labels: additionalProperties: nullable: true @@ -71022,6 +71152,10 @@ components: format: uri nullable: true type: string + hidden: + default: false + description: Whether this distribution should be shown in the content app. + type: boolean pulp_labels: additionalProperties: nullable: true @@ -71050,6 +71184,7 @@ components: description: Serializer for Maven Distributions. example: pulp_href: https://openapi-generator.tech + hidden: false pulp_labels: key: pulp_labels base_url: base_url @@ -71083,6 +71218,10 @@ components: format: uri nullable: true type: string + hidden: + default: false + description: Whether this distribution should be shown in the content app. + type: boolean pulp_labels: additionalProperties: nullable: true @@ -71619,6 +71758,10 @@ components: format: uri nullable: true type: string + hidden: + default: false + description: Whether this distribution should be shown in the content app. + type: boolean pulp_labels: additionalProperties: nullable: true @@ -71646,6 +71789,7 @@ components: description: A Serializer class for an OSTree distribution. example: pulp_href: https://openapi-generator.tech + hidden: false pulp_labels: key: pulp_labels base_url: base_url @@ -71679,6 +71823,10 @@ components: format: uri nullable: true type: string + hidden: + default: false + description: Whether this distribution should be shown in the content app. + type: boolean pulp_labels: additionalProperties: nullable: true @@ -72263,6 +72411,10 @@ components: format: uri nullable: true type: string + hidden: + default: false + description: Whether this distribution should be shown in the content app. + type: boolean pulp_labels: additionalProperties: nullable: true @@ -72300,6 +72452,7 @@ components: description: Serializer for Pulp distributions for the Python type. example: pulp_href: https://openapi-generator.tech + hidden: false pulp_labels: key: pulp_labels publication: https://openapi-generator.tech @@ -72334,6 +72487,10 @@ components: format: uri nullable: true type: string + hidden: + default: false + description: Whether this distribution should be shown in the content app. + type: boolean pulp_labels: additionalProperties: nullable: true @@ -74307,6 +74464,10 @@ components: format: uri nullable: true type: string + hidden: + default: false + description: Whether this distribution should be shown in the content app. + type: boolean pulp_labels: additionalProperties: nullable: true @@ -74334,6 +74495,7 @@ components: description: Serializer for RPM Distributions. example: pulp_href: https://openapi-generator.tech + hidden: false pulp_labels: key: pulp_labels publication: https://openapi-generator.tech @@ -74367,6 +74529,10 @@ components: format: uri nullable: true type: string + hidden: + default: false + description: Whether this distribution should be shown in the content app. + type: boolean pulp_labels: additionalProperties: nullable: true diff --git a/release/api_content_collection_versions.go b/release/api_content_collection_versions.go index 0397e819..9cd60565 100644 --- a/release/api_content_collection_versions.go +++ b/release/api_content_collection_versions.go @@ -29,18 +29,18 @@ type ContentCollectionVersionsAPIService service type ContentCollectionVersionsAPIContentAnsibleCollectionVersionsCreateRequest struct { ctx context.Context ApiService *ContentCollectionVersionsAPIService - artifact *string - file *os.File repository *string + file *os.File + artifact *string upload *string expectedName *string expectedNamespace *string expectedVersion *string } -// Artifact file representing the physical content -func (r ContentCollectionVersionsAPIContentAnsibleCollectionVersionsCreateRequest) Artifact(artifact string) ContentCollectionVersionsAPIContentAnsibleCollectionVersionsCreateRequest { - r.artifact = &artifact +// A URI of a repository the new content unit should be associated with. +func (r ContentCollectionVersionsAPIContentAnsibleCollectionVersionsCreateRequest) Repository(repository string) ContentCollectionVersionsAPIContentAnsibleCollectionVersionsCreateRequest { + r.repository = &repository return r } @@ -50,9 +50,9 @@ func (r ContentCollectionVersionsAPIContentAnsibleCollectionVersionsCreateReques return r } -// A URI of a repository the new content unit should be associated with. -func (r ContentCollectionVersionsAPIContentAnsibleCollectionVersionsCreateRequest) Repository(repository string) ContentCollectionVersionsAPIContentAnsibleCollectionVersionsCreateRequest { - r.repository = &repository +// Artifact file representing the physical content +func (r ContentCollectionVersionsAPIContentAnsibleCollectionVersionsCreateRequest) Artifact(artifact string) ContentCollectionVersionsAPIContentAnsibleCollectionVersionsCreateRequest { + r.artifact = &artifact return r } @@ -136,8 +136,8 @@ func (a *ContentCollectionVersionsAPIService) ContentAnsibleCollectionVersionsCr if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - if r.artifact != nil { - parameterAddToHeaderOrQuery(localVarFormParams, "artifact", r.artifact, "") + if r.repository != nil { + parameterAddToHeaderOrQuery(localVarFormParams, "repository", r.repository, "") } var fileLocalVarFormFileName string var fileLocalVarFileName string @@ -156,8 +156,8 @@ func (a *ContentCollectionVersionsAPIService) ContentAnsibleCollectionVersionsCr fileLocalVarFile.Close() formFiles = append(formFiles, formFile{fileBytes: fileLocalVarFileBytes, fileName: fileLocalVarFileName, formFileName: fileLocalVarFormFileName}) } - if r.repository != nil { - parameterAddToHeaderOrQuery(localVarFormParams, "repository", r.repository, "") + if r.artifact != nil { + parameterAddToHeaderOrQuery(localVarFormParams, "artifact", r.artifact, "") } if r.upload != nil { parameterAddToHeaderOrQuery(localVarFormParams, "upload", r.upload, "") diff --git a/release/api_distributions.go b/release/api_distributions.go index 72d6afd0..f657df4e 100644 --- a/release/api_distributions.go +++ b/release/api_distributions.go @@ -116,7 +116,7 @@ func (r DistributionsAPIDistributionsListRequest) Offset(offset int32) Distribut return r } -// Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) +// Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) func (r DistributionsAPIDistributionsListRequest) Ordering(ordering []string) DistributionsAPIDistributionsListRequest { r.ordering = &ordering return r diff --git a/release/api_distributions_ansible.go b/release/api_distributions_ansible.go index 33af09ce..318f74a7 100644 --- a/release/api_distributions_ansible.go +++ b/release/api_distributions_ansible.go @@ -444,7 +444,7 @@ func (r DistributionsAnsibleAPIDistributionsAnsibleAnsibleListRequest) Offset(of return r } -// Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) +// Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) func (r DistributionsAnsibleAPIDistributionsAnsibleAnsibleListRequest) Ordering(ordering []string) DistributionsAnsibleAPIDistributionsAnsibleAnsibleListRequest { r.ordering = &ordering return r diff --git a/release/api_distributions_apt.go b/release/api_distributions_apt.go index 23acf0c7..658b428c 100644 --- a/release/api_distributions_apt.go +++ b/release/api_distributions_apt.go @@ -329,7 +329,7 @@ func (r DistributionsAptAPIDistributionsDebAptListRequest) Offset(offset int32) return r } -// Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) +// Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) func (r DistributionsAptAPIDistributionsDebAptListRequest) Ordering(ordering []string) DistributionsAptAPIDistributionsDebAptListRequest { r.ordering = &ordering return r diff --git a/release/api_distributions_artifacts.go b/release/api_distributions_artifacts.go index c5328193..f5521c75 100644 --- a/release/api_distributions_artifacts.go +++ b/release/api_distributions_artifacts.go @@ -116,7 +116,7 @@ func (r DistributionsArtifactsAPIDistributionsCoreArtifactsListRequest) Offset(o return r } -// Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) +// Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) func (r DistributionsArtifactsAPIDistributionsCoreArtifactsListRequest) Ordering(ordering []string) DistributionsArtifactsAPIDistributionsCoreArtifactsListRequest { r.ordering = &ordering return r diff --git a/release/api_distributions_container.go b/release/api_distributions_container.go index 8ce53a52..1e92bea6 100644 --- a/release/api_distributions_container.go +++ b/release/api_distributions_container.go @@ -450,7 +450,7 @@ func (r DistributionsContainerAPIDistributionsContainerContainerListRequest) Off return r } -// Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `private` - Private * `-private` - Private (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending) +// Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `private` - Private * `-private` - Private (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending) func (r DistributionsContainerAPIDistributionsContainerContainerListRequest) Ordering(ordering []string) DistributionsContainerAPIDistributionsContainerContainerListRequest { r.ordering = &ordering return r diff --git a/release/api_distributions_file.go b/release/api_distributions_file.go index 515a1cae..3473c2c0 100644 --- a/release/api_distributions_file.go +++ b/release/api_distributions_file.go @@ -444,7 +444,7 @@ func (r DistributionsFileAPIDistributionsFileFileListRequest) Offset(offset int3 return r } -// Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) +// Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) func (r DistributionsFileAPIDistributionsFileFileListRequest) Ordering(ordering []string) DistributionsFileAPIDistributionsFileFileListRequest { r.ordering = &ordering return r diff --git a/release/api_distributions_maven.go b/release/api_distributions_maven.go index 751c5a37..f5d08fd8 100644 --- a/release/api_distributions_maven.go +++ b/release/api_distributions_maven.go @@ -329,7 +329,7 @@ func (r DistributionsMavenAPIDistributionsMavenMavenListRequest) Offset(offset i return r } -// Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) +// Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) func (r DistributionsMavenAPIDistributionsMavenMavenListRequest) Ordering(ordering []string) DistributionsMavenAPIDistributionsMavenMavenListRequest { r.ordering = &ordering return r diff --git a/release/api_distributions_ostree.go b/release/api_distributions_ostree.go index 2f67f02f..55cf7436 100644 --- a/release/api_distributions_ostree.go +++ b/release/api_distributions_ostree.go @@ -329,7 +329,7 @@ func (r DistributionsOstreeAPIDistributionsOstreeOstreeListRequest) Offset(offse return r } -// Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) +// Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) func (r DistributionsOstreeAPIDistributionsOstreeOstreeListRequest) Ordering(ordering []string) DistributionsOstreeAPIDistributionsOstreeOstreeListRequest { r.ordering = &ordering return r diff --git a/release/api_distributions_pypi.go b/release/api_distributions_pypi.go index 1151dc16..c28590f3 100644 --- a/release/api_distributions_pypi.go +++ b/release/api_distributions_pypi.go @@ -329,7 +329,7 @@ func (r DistributionsPypiAPIDistributionsPythonPypiListRequest) Offset(offset in return r } -// Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) +// Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) func (r DistributionsPypiAPIDistributionsPythonPypiListRequest) Ordering(ordering []string) DistributionsPypiAPIDistributionsPythonPypiListRequest { r.ordering = &ordering return r diff --git a/release/api_distributions_rpm.go b/release/api_distributions_rpm.go index 759d956f..281f14a4 100644 --- a/release/api_distributions_rpm.go +++ b/release/api_distributions_rpm.go @@ -444,7 +444,7 @@ func (r DistributionsRpmAPIDistributionsRpmRpmListRequest) Offset(offset int32) return r } -// Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) +// Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) func (r DistributionsRpmAPIDistributionsRpmRpmListRequest) Ordering(ordering []string) DistributionsRpmAPIDistributionsRpmRpmListRequest { r.ordering = &ordering return r diff --git a/release/configuration.go b/release/configuration.go index 974f52b0..cb479c3d 100644 --- a/release/configuration.go +++ b/release/configuration.go @@ -93,7 +93,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "OpenAPI-Generator/v3.26.1/go", + UserAgent: "OpenAPI-Generator/v3.27.0/go", Debug: false, Servers: ServerConfigurations{ { diff --git a/release/docs/AnsibleCollectionVersion.md b/release/docs/AnsibleCollectionVersion.md index ceed4ff6..a53e863d 100644 --- a/release/docs/AnsibleCollectionVersion.md +++ b/release/docs/AnsibleCollectionVersion.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Artifact** | Pointer to **string** | Artifact file representing the physical content | [optional] -**File** | Pointer to ***os.File** | An uploaded file that may be turned into the artifact of the content unit. | [optional] **Repository** | Pointer to **string** | A URI of a repository the new content unit should be associated with. | [optional] +**File** | Pointer to ***os.File** | An uploaded file that may be turned into the artifact of the content unit. | [optional] +**Artifact** | Pointer to **string** | Artifact file representing the physical content | [optional] **Upload** | Pointer to **string** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional] **ExpectedName** | Pointer to **string** | The name of the collection. | [optional] **ExpectedNamespace** | Pointer to **string** | The namespace of the collection. | [optional] @@ -31,30 +31,30 @@ NewAnsibleCollectionVersionWithDefaults instantiates a new AnsibleCollectionVers This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetArtifact +### GetRepository -`func (o *AnsibleCollectionVersion) GetArtifact() string` +`func (o *AnsibleCollectionVersion) GetRepository() string` -GetArtifact returns the Artifact field if non-nil, zero value otherwise. +GetRepository returns the Repository field if non-nil, zero value otherwise. -### GetArtifactOk +### GetRepositoryOk -`func (o *AnsibleCollectionVersion) GetArtifactOk() (*string, bool)` +`func (o *AnsibleCollectionVersion) GetRepositoryOk() (*string, bool)` -GetArtifactOk returns a tuple with the Artifact field if it's non-nil, zero value otherwise +GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetArtifact +### SetRepository -`func (o *AnsibleCollectionVersion) SetArtifact(v string)` +`func (o *AnsibleCollectionVersion) SetRepository(v string)` -SetArtifact sets Artifact field to given value. +SetRepository sets Repository field to given value. -### HasArtifact +### HasRepository -`func (o *AnsibleCollectionVersion) HasArtifact() bool` +`func (o *AnsibleCollectionVersion) HasRepository() bool` -HasArtifact returns a boolean if a field has been set. +HasRepository returns a boolean if a field has been set. ### GetFile @@ -81,30 +81,30 @@ SetFile sets File field to given value. HasFile returns a boolean if a field has been set. -### GetRepository +### GetArtifact -`func (o *AnsibleCollectionVersion) GetRepository() string` +`func (o *AnsibleCollectionVersion) GetArtifact() string` -GetRepository returns the Repository field if non-nil, zero value otherwise. +GetArtifact returns the Artifact field if non-nil, zero value otherwise. -### GetRepositoryOk +### GetArtifactOk -`func (o *AnsibleCollectionVersion) GetRepositoryOk() (*string, bool)` +`func (o *AnsibleCollectionVersion) GetArtifactOk() (*string, bool)` -GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise +GetArtifactOk returns a tuple with the Artifact field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetRepository +### SetArtifact -`func (o *AnsibleCollectionVersion) SetRepository(v string)` +`func (o *AnsibleCollectionVersion) SetArtifact(v string)` -SetRepository sets Repository field to given value. +SetArtifact sets Artifact field to given value. -### HasRepository +### HasArtifact -`func (o *AnsibleCollectionVersion) HasRepository() bool` +`func (o *AnsibleCollectionVersion) HasArtifact() bool` -HasRepository returns a boolean if a field has been set. +HasArtifact returns a boolean if a field has been set. ### GetUpload diff --git a/release/docs/AnsibleCollectionVersionResponse.md b/release/docs/AnsibleCollectionVersionResponse.md index 40364595..8089a6a7 100644 --- a/release/docs/AnsibleCollectionVersionResponse.md +++ b/release/docs/AnsibleCollectionVersionResponse.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**PulpCreated** | Pointer to **time.Time** | Timestamp of creation. | [optional] [readonly] **Artifact** | Pointer to **string** | Artifact file representing the physical content | [optional] **PulpHref** | Pointer to **string** | | [optional] [readonly] +**PulpCreated** | Pointer to **time.Time** | Timestamp of creation. | [optional] [readonly] **Sha256** | Pointer to **string** | The SHA-256 checksum if available. | [optional] [readonly] **Md5** | Pointer to **string** | The MD5 checksum if available. | [optional] [readonly] **Sha1** | Pointer to **string** | The SHA-1 checksum if available. | [optional] [readonly] @@ -51,31 +51,6 @@ NewAnsibleCollectionVersionResponseWithDefaults instantiates a new AnsibleCollec This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetPulpCreated - -`func (o *AnsibleCollectionVersionResponse) GetPulpCreated() time.Time` - -GetPulpCreated returns the PulpCreated field if non-nil, zero value otherwise. - -### GetPulpCreatedOk - -`func (o *AnsibleCollectionVersionResponse) GetPulpCreatedOk() (*time.Time, bool)` - -GetPulpCreatedOk returns a tuple with the PulpCreated field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPulpCreated - -`func (o *AnsibleCollectionVersionResponse) SetPulpCreated(v time.Time)` - -SetPulpCreated sets PulpCreated field to given value. - -### HasPulpCreated - -`func (o *AnsibleCollectionVersionResponse) HasPulpCreated() bool` - -HasPulpCreated returns a boolean if a field has been set. - ### GetArtifact `func (o *AnsibleCollectionVersionResponse) GetArtifact() string` @@ -126,6 +101,31 @@ SetPulpHref sets PulpHref field to given value. HasPulpHref returns a boolean if a field has been set. +### GetPulpCreated + +`func (o *AnsibleCollectionVersionResponse) GetPulpCreated() time.Time` + +GetPulpCreated returns the PulpCreated field if non-nil, zero value otherwise. + +### GetPulpCreatedOk + +`func (o *AnsibleCollectionVersionResponse) GetPulpCreatedOk() (*time.Time, bool)` + +GetPulpCreatedOk returns a tuple with the PulpCreated field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPulpCreated + +`func (o *AnsibleCollectionVersionResponse) SetPulpCreated(v time.Time)` + +SetPulpCreated sets PulpCreated field to given value. + +### HasPulpCreated + +`func (o *AnsibleCollectionVersionResponse) HasPulpCreated() bool` + +HasPulpCreated returns a boolean if a field has been set. + ### GetSha256 `func (o *AnsibleCollectionVersionResponse) GetSha256() string` diff --git a/release/docs/AnsibleGitRemote.md b/release/docs/AnsibleGitRemote.md index 7e341ccb..dfc63e83 100644 --- a/release/docs/AnsibleGitRemote.md +++ b/release/docs/AnsibleGitRemote.md @@ -4,26 +4,26 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**MaxRetries** | Pointer to **NullableInt64** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] -**ProxyPassword** | Pointer to **NullableString** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] -**ClientCert** | Pointer to **NullableString** | A PEM encoded client certificate used for authentication. | [optional] **PulpLabels** | Pointer to **map[string]string** | | [optional] -**TotalTimeout** | Pointer to **NullableFloat64** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] -**Url** | **string** | The URL of an external content source. | -**TlsValidation** | Pointer to **bool** | If True, TLS peer validation must be performed. | [optional] +**MaxRetries** | Pointer to **NullableInt64** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] **Password** | Pointer to **NullableString** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] -**SockConnectTimeout** | Pointer to **NullableFloat64** | 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. | [optional] +**CaCert** | Pointer to **NullableString** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] +**SockReadTimeout** | Pointer to **NullableFloat64** | 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. | [optional] +**TotalTimeout** | Pointer to **NullableFloat64** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] **DownloadConcurrency** | Pointer to **NullableInt64** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] -**Name** | **string** | A unique name for this remote. | -**ConnectTimeout** | Pointer to **NullableFloat64** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] +**ProxyPassword** | Pointer to **NullableString** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] +**ProxyUsername** | Pointer to **NullableString** | The username to authenticte to the proxy. | [optional] +**SockConnectTimeout** | Pointer to **NullableFloat64** | 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. | [optional] +**TlsValidation** | Pointer to **bool** | If True, TLS peer validation must be performed. | [optional] **Headers** | Pointer to **[]map[string]interface{}** | Headers for aiohttp.Clientsession | [optional] +**ClientKey** | Pointer to **NullableString** | A PEM encoded private key used for authentication. | [optional] +**ConnectTimeout** | Pointer to **NullableFloat64** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] **ProxyUrl** | Pointer to **NullableString** | The proxy URL. Format: scheme://host:port | [optional] **RateLimit** | Pointer to **NullableInt64** | Limits requests per second for each concurrent downloader | [optional] -**CaCert** | Pointer to **NullableString** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] -**SockReadTimeout** | Pointer to **NullableFloat64** | 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. | [optional] -**ProxyUsername** | Pointer to **NullableString** | The username to authenticte to the proxy. | [optional] +**Name** | **string** | A unique name for this remote. | **Username** | Pointer to **NullableString** | The username to be used for authentication when syncing. | [optional] -**ClientKey** | Pointer to **NullableString** | A PEM encoded private key used for authentication. | [optional] +**ClientCert** | Pointer to **NullableString** | A PEM encoded client certificate used for authentication. | [optional] +**Url** | **string** | The URL of an external content source. | **MetadataOnly** | Pointer to **bool** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] **GitRef** | Pointer to **string** | A git ref. e.g.: branch, tag, or commit sha. | [optional] @@ -31,7 +31,7 @@ Name | Type | Description | Notes ### NewAnsibleGitRemote -`func NewAnsibleGitRemote(url string, name string, ) *AnsibleGitRemote` +`func NewAnsibleGitRemote(name string, url string, ) *AnsibleGitRemote` NewAnsibleGitRemote instantiates a new AnsibleGitRemote object This constructor will assign default values to properties that have it defined, @@ -46,6 +46,31 @@ NewAnsibleGitRemoteWithDefaults instantiates a new AnsibleGitRemote object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set +### GetPulpLabels + +`func (o *AnsibleGitRemote) GetPulpLabels() map[string]string` + +GetPulpLabels returns the PulpLabels field if non-nil, zero value otherwise. + +### GetPulpLabelsOk + +`func (o *AnsibleGitRemote) GetPulpLabelsOk() (*map[string]string, bool)` + +GetPulpLabelsOk returns a tuple with the PulpLabels field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPulpLabels + +`func (o *AnsibleGitRemote) SetPulpLabels(v map[string]string)` + +SetPulpLabels sets PulpLabels field to given value. + +### HasPulpLabels + +`func (o *AnsibleGitRemote) HasPulpLabels() bool` + +HasPulpLabels returns a boolean if a field has been set. + ### GetMaxRetries `func (o *AnsibleGitRemote) GetMaxRetries() int64` @@ -81,101 +106,111 @@ HasMaxRetries returns a boolean if a field has been set. `func (o *AnsibleGitRemote) UnsetMaxRetries()` UnsetMaxRetries ensures that no value is present for MaxRetries, not even an explicit nil -### GetProxyPassword +### GetPassword -`func (o *AnsibleGitRemote) GetProxyPassword() string` +`func (o *AnsibleGitRemote) GetPassword() string` -GetProxyPassword returns the ProxyPassword field if non-nil, zero value otherwise. +GetPassword returns the Password field if non-nil, zero value otherwise. -### GetProxyPasswordOk +### GetPasswordOk -`func (o *AnsibleGitRemote) GetProxyPasswordOk() (*string, bool)` +`func (o *AnsibleGitRemote) GetPasswordOk() (*string, bool)` -GetProxyPasswordOk returns a tuple with the ProxyPassword field if it's non-nil, zero value otherwise +GetPasswordOk returns a tuple with the Password field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetProxyPassword +### SetPassword -`func (o *AnsibleGitRemote) SetProxyPassword(v string)` +`func (o *AnsibleGitRemote) SetPassword(v string)` -SetProxyPassword sets ProxyPassword field to given value. +SetPassword sets Password field to given value. -### HasProxyPassword +### HasPassword -`func (o *AnsibleGitRemote) HasProxyPassword() bool` +`func (o *AnsibleGitRemote) HasPassword() bool` -HasProxyPassword returns a boolean if a field has been set. +HasPassword returns a boolean if a field has been set. -### SetProxyPasswordNil +### SetPasswordNil -`func (o *AnsibleGitRemote) SetProxyPasswordNil(b bool)` +`func (o *AnsibleGitRemote) SetPasswordNil(b bool)` - SetProxyPasswordNil sets the value for ProxyPassword to be an explicit nil + SetPasswordNil sets the value for Password to be an explicit nil -### UnsetProxyPassword -`func (o *AnsibleGitRemote) UnsetProxyPassword()` +### UnsetPassword +`func (o *AnsibleGitRemote) UnsetPassword()` -UnsetProxyPassword ensures that no value is present for ProxyPassword, not even an explicit nil -### GetClientCert +UnsetPassword ensures that no value is present for Password, not even an explicit nil +### GetCaCert -`func (o *AnsibleGitRemote) GetClientCert() string` +`func (o *AnsibleGitRemote) GetCaCert() string` -GetClientCert returns the ClientCert field if non-nil, zero value otherwise. +GetCaCert returns the CaCert field if non-nil, zero value otherwise. -### GetClientCertOk +### GetCaCertOk -`func (o *AnsibleGitRemote) GetClientCertOk() (*string, bool)` +`func (o *AnsibleGitRemote) GetCaCertOk() (*string, bool)` -GetClientCertOk returns a tuple with the ClientCert field if it's non-nil, zero value otherwise +GetCaCertOk returns a tuple with the CaCert field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetClientCert +### SetCaCert -`func (o *AnsibleGitRemote) SetClientCert(v string)` +`func (o *AnsibleGitRemote) SetCaCert(v string)` -SetClientCert sets ClientCert field to given value. +SetCaCert sets CaCert field to given value. -### HasClientCert +### HasCaCert -`func (o *AnsibleGitRemote) HasClientCert() bool` +`func (o *AnsibleGitRemote) HasCaCert() bool` -HasClientCert returns a boolean if a field has been set. +HasCaCert returns a boolean if a field has been set. -### SetClientCertNil +### SetCaCertNil -`func (o *AnsibleGitRemote) SetClientCertNil(b bool)` +`func (o *AnsibleGitRemote) SetCaCertNil(b bool)` - SetClientCertNil sets the value for ClientCert to be an explicit nil + SetCaCertNil sets the value for CaCert to be an explicit nil -### UnsetClientCert -`func (o *AnsibleGitRemote) UnsetClientCert()` +### UnsetCaCert +`func (o *AnsibleGitRemote) UnsetCaCert()` -UnsetClientCert ensures that no value is present for ClientCert, not even an explicit nil -### GetPulpLabels +UnsetCaCert ensures that no value is present for CaCert, not even an explicit nil +### GetSockReadTimeout -`func (o *AnsibleGitRemote) GetPulpLabels() map[string]string` +`func (o *AnsibleGitRemote) GetSockReadTimeout() float64` -GetPulpLabels returns the PulpLabels field if non-nil, zero value otherwise. +GetSockReadTimeout returns the SockReadTimeout field if non-nil, zero value otherwise. -### GetPulpLabelsOk +### GetSockReadTimeoutOk -`func (o *AnsibleGitRemote) GetPulpLabelsOk() (*map[string]string, bool)` +`func (o *AnsibleGitRemote) GetSockReadTimeoutOk() (*float64, bool)` -GetPulpLabelsOk returns a tuple with the PulpLabels field if it's non-nil, zero value otherwise +GetSockReadTimeoutOk returns a tuple with the SockReadTimeout field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetPulpLabels +### SetSockReadTimeout -`func (o *AnsibleGitRemote) SetPulpLabels(v map[string]string)` +`func (o *AnsibleGitRemote) SetSockReadTimeout(v float64)` -SetPulpLabels sets PulpLabels field to given value. +SetSockReadTimeout sets SockReadTimeout field to given value. -### HasPulpLabels +### HasSockReadTimeout -`func (o *AnsibleGitRemote) HasPulpLabels() bool` +`func (o *AnsibleGitRemote) HasSockReadTimeout() bool` -HasPulpLabels returns a boolean if a field has been set. +HasSockReadTimeout returns a boolean if a field has been set. + +### SetSockReadTimeoutNil + +`func (o *AnsibleGitRemote) SetSockReadTimeoutNil(b bool)` + + SetSockReadTimeoutNil sets the value for SockReadTimeout to be an explicit nil +### UnsetSockReadTimeout +`func (o *AnsibleGitRemote) UnsetSockReadTimeout()` + +UnsetSockReadTimeout ensures that no value is present for SockReadTimeout, not even an explicit nil ### GetTotalTimeout `func (o *AnsibleGitRemote) GetTotalTimeout() float64` @@ -211,86 +246,111 @@ HasTotalTimeout returns a boolean if a field has been set. `func (o *AnsibleGitRemote) UnsetTotalTimeout()` UnsetTotalTimeout ensures that no value is present for TotalTimeout, not even an explicit nil -### GetUrl +### GetDownloadConcurrency -`func (o *AnsibleGitRemote) GetUrl() string` +`func (o *AnsibleGitRemote) GetDownloadConcurrency() int64` -GetUrl returns the Url field if non-nil, zero value otherwise. +GetDownloadConcurrency returns the DownloadConcurrency field if non-nil, zero value otherwise. -### GetUrlOk +### GetDownloadConcurrencyOk -`func (o *AnsibleGitRemote) GetUrlOk() (*string, bool)` +`func (o *AnsibleGitRemote) GetDownloadConcurrencyOk() (*int64, bool)` -GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise +GetDownloadConcurrencyOk returns a tuple with the DownloadConcurrency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetUrl +### SetDownloadConcurrency -`func (o *AnsibleGitRemote) SetUrl(v string)` +`func (o *AnsibleGitRemote) SetDownloadConcurrency(v int64)` -SetUrl sets Url field to given value. +SetDownloadConcurrency sets DownloadConcurrency field to given value. +### HasDownloadConcurrency -### GetTlsValidation +`func (o *AnsibleGitRemote) HasDownloadConcurrency() bool` -`func (o *AnsibleGitRemote) GetTlsValidation() bool` +HasDownloadConcurrency returns a boolean if a field has been set. -GetTlsValidation returns the TlsValidation field if non-nil, zero value otherwise. +### SetDownloadConcurrencyNil -### GetTlsValidationOk +`func (o *AnsibleGitRemote) SetDownloadConcurrencyNil(b bool)` -`func (o *AnsibleGitRemote) GetTlsValidationOk() (*bool, bool)` + SetDownloadConcurrencyNil sets the value for DownloadConcurrency to be an explicit nil -GetTlsValidationOk returns a tuple with the TlsValidation field if it's non-nil, zero value otherwise +### UnsetDownloadConcurrency +`func (o *AnsibleGitRemote) UnsetDownloadConcurrency()` + +UnsetDownloadConcurrency ensures that no value is present for DownloadConcurrency, not even an explicit nil +### GetProxyPassword + +`func (o *AnsibleGitRemote) GetProxyPassword() string` + +GetProxyPassword returns the ProxyPassword field if non-nil, zero value otherwise. + +### GetProxyPasswordOk + +`func (o *AnsibleGitRemote) GetProxyPasswordOk() (*string, bool)` + +GetProxyPasswordOk returns a tuple with the ProxyPassword field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetTlsValidation +### SetProxyPassword -`func (o *AnsibleGitRemote) SetTlsValidation(v bool)` +`func (o *AnsibleGitRemote) SetProxyPassword(v string)` -SetTlsValidation sets TlsValidation field to given value. +SetProxyPassword sets ProxyPassword field to given value. -### HasTlsValidation +### HasProxyPassword -`func (o *AnsibleGitRemote) HasTlsValidation() bool` +`func (o *AnsibleGitRemote) HasProxyPassword() bool` -HasTlsValidation returns a boolean if a field has been set. +HasProxyPassword returns a boolean if a field has been set. -### GetPassword +### SetProxyPasswordNil -`func (o *AnsibleGitRemote) GetPassword() string` +`func (o *AnsibleGitRemote) SetProxyPasswordNil(b bool)` -GetPassword returns the Password field if non-nil, zero value otherwise. + SetProxyPasswordNil sets the value for ProxyPassword to be an explicit nil -### GetPasswordOk +### UnsetProxyPassword +`func (o *AnsibleGitRemote) UnsetProxyPassword()` -`func (o *AnsibleGitRemote) GetPasswordOk() (*string, bool)` +UnsetProxyPassword ensures that no value is present for ProxyPassword, not even an explicit nil +### GetProxyUsername -GetPasswordOk returns a tuple with the Password field if it's non-nil, zero value otherwise +`func (o *AnsibleGitRemote) GetProxyUsername() string` + +GetProxyUsername returns the ProxyUsername field if non-nil, zero value otherwise. + +### GetProxyUsernameOk + +`func (o *AnsibleGitRemote) GetProxyUsernameOk() (*string, bool)` + +GetProxyUsernameOk returns a tuple with the ProxyUsername field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetPassword +### SetProxyUsername -`func (o *AnsibleGitRemote) SetPassword(v string)` +`func (o *AnsibleGitRemote) SetProxyUsername(v string)` -SetPassword sets Password field to given value. +SetProxyUsername sets ProxyUsername field to given value. -### HasPassword +### HasProxyUsername -`func (o *AnsibleGitRemote) HasPassword() bool` +`func (o *AnsibleGitRemote) HasProxyUsername() bool` -HasPassword returns a boolean if a field has been set. +HasProxyUsername returns a boolean if a field has been set. -### SetPasswordNil +### SetProxyUsernameNil -`func (o *AnsibleGitRemote) SetPasswordNil(b bool)` +`func (o *AnsibleGitRemote) SetProxyUsernameNil(b bool)` - SetPasswordNil sets the value for Password to be an explicit nil + SetProxyUsernameNil sets the value for ProxyUsername to be an explicit nil -### UnsetPassword -`func (o *AnsibleGitRemote) UnsetPassword()` +### UnsetProxyUsername +`func (o *AnsibleGitRemote) UnsetProxyUsername()` -UnsetPassword ensures that no value is present for Password, not even an explicit nil +UnsetProxyUsername ensures that no value is present for ProxyUsername, not even an explicit nil ### GetSockConnectTimeout `func (o *AnsibleGitRemote) GetSockConnectTimeout() float64` @@ -316,71 +376,101 @@ SetSockConnectTimeout sets SockConnectTimeout field to given value. HasSockConnectTimeout returns a boolean if a field has been set. -### SetSockConnectTimeoutNil +### SetSockConnectTimeoutNil + +`func (o *AnsibleGitRemote) SetSockConnectTimeoutNil(b bool)` + + SetSockConnectTimeoutNil sets the value for SockConnectTimeout to be an explicit nil + +### UnsetSockConnectTimeout +`func (o *AnsibleGitRemote) UnsetSockConnectTimeout()` + +UnsetSockConnectTimeout ensures that no value is present for SockConnectTimeout, not even an explicit nil +### GetTlsValidation + +`func (o *AnsibleGitRemote) GetTlsValidation() bool` + +GetTlsValidation returns the TlsValidation field if non-nil, zero value otherwise. + +### GetTlsValidationOk + +`func (o *AnsibleGitRemote) GetTlsValidationOk() (*bool, bool)` + +GetTlsValidationOk returns a tuple with the TlsValidation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTlsValidation + +`func (o *AnsibleGitRemote) SetTlsValidation(v bool)` + +SetTlsValidation sets TlsValidation field to given value. -`func (o *AnsibleGitRemote) SetSockConnectTimeoutNil(b bool)` +### HasTlsValidation - SetSockConnectTimeoutNil sets the value for SockConnectTimeout to be an explicit nil +`func (o *AnsibleGitRemote) HasTlsValidation() bool` -### UnsetSockConnectTimeout -`func (o *AnsibleGitRemote) UnsetSockConnectTimeout()` +HasTlsValidation returns a boolean if a field has been set. -UnsetSockConnectTimeout ensures that no value is present for SockConnectTimeout, not even an explicit nil -### GetDownloadConcurrency +### GetHeaders -`func (o *AnsibleGitRemote) GetDownloadConcurrency() int64` +`func (o *AnsibleGitRemote) GetHeaders() []map[string]interface{}` -GetDownloadConcurrency returns the DownloadConcurrency field if non-nil, zero value otherwise. +GetHeaders returns the Headers field if non-nil, zero value otherwise. -### GetDownloadConcurrencyOk +### GetHeadersOk -`func (o *AnsibleGitRemote) GetDownloadConcurrencyOk() (*int64, bool)` +`func (o *AnsibleGitRemote) GetHeadersOk() (*[]map[string]interface{}, bool)` -GetDownloadConcurrencyOk returns a tuple with the DownloadConcurrency field if it's non-nil, zero value otherwise +GetHeadersOk returns a tuple with the Headers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetDownloadConcurrency +### SetHeaders -`func (o *AnsibleGitRemote) SetDownloadConcurrency(v int64)` +`func (o *AnsibleGitRemote) SetHeaders(v []map[string]interface{})` -SetDownloadConcurrency sets DownloadConcurrency field to given value. +SetHeaders sets Headers field to given value. -### HasDownloadConcurrency +### HasHeaders -`func (o *AnsibleGitRemote) HasDownloadConcurrency() bool` +`func (o *AnsibleGitRemote) HasHeaders() bool` -HasDownloadConcurrency returns a boolean if a field has been set. +HasHeaders returns a boolean if a field has been set. -### SetDownloadConcurrencyNil +### GetClientKey -`func (o *AnsibleGitRemote) SetDownloadConcurrencyNil(b bool)` +`func (o *AnsibleGitRemote) GetClientKey() string` - SetDownloadConcurrencyNil sets the value for DownloadConcurrency to be an explicit nil +GetClientKey returns the ClientKey field if non-nil, zero value otherwise. -### UnsetDownloadConcurrency -`func (o *AnsibleGitRemote) UnsetDownloadConcurrency()` +### GetClientKeyOk -UnsetDownloadConcurrency ensures that no value is present for DownloadConcurrency, not even an explicit nil -### GetName +`func (o *AnsibleGitRemote) GetClientKeyOk() (*string, bool)` -`func (o *AnsibleGitRemote) GetName() string` +GetClientKeyOk returns a tuple with the ClientKey field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. -GetName returns the Name field if non-nil, zero value otherwise. +### SetClientKey -### GetNameOk +`func (o *AnsibleGitRemote) SetClientKey(v string)` -`func (o *AnsibleGitRemote) GetNameOk() (*string, bool)` +SetClientKey sets ClientKey field to given value. -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. +### HasClientKey -### SetName +`func (o *AnsibleGitRemote) HasClientKey() bool` -`func (o *AnsibleGitRemote) SetName(v string)` +HasClientKey returns a boolean if a field has been set. -SetName sets Name field to given value. +### SetClientKeyNil + +`func (o *AnsibleGitRemote) SetClientKeyNil(b bool)` + + SetClientKeyNil sets the value for ClientKey to be an explicit nil +### UnsetClientKey +`func (o *AnsibleGitRemote) UnsetClientKey()` +UnsetClientKey ensures that no value is present for ClientKey, not even an explicit nil ### GetConnectTimeout `func (o *AnsibleGitRemote) GetConnectTimeout() float64` @@ -416,31 +506,6 @@ HasConnectTimeout returns a boolean if a field has been set. `func (o *AnsibleGitRemote) UnsetConnectTimeout()` UnsetConnectTimeout ensures that no value is present for ConnectTimeout, not even an explicit nil -### GetHeaders - -`func (o *AnsibleGitRemote) GetHeaders() []map[string]interface{}` - -GetHeaders returns the Headers field if non-nil, zero value otherwise. - -### GetHeadersOk - -`func (o *AnsibleGitRemote) GetHeadersOk() (*[]map[string]interface{}, bool)` - -GetHeadersOk returns a tuple with the Headers field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetHeaders - -`func (o *AnsibleGitRemote) SetHeaders(v []map[string]interface{})` - -SetHeaders sets Headers field to given value. - -### HasHeaders - -`func (o *AnsibleGitRemote) HasHeaders() bool` - -HasHeaders returns a boolean if a field has been set. - ### GetProxyUrl `func (o *AnsibleGitRemote) GetProxyUrl() string` @@ -511,111 +576,26 @@ HasRateLimit returns a boolean if a field has been set. `func (o *AnsibleGitRemote) UnsetRateLimit()` UnsetRateLimit ensures that no value is present for RateLimit, not even an explicit nil -### GetCaCert - -`func (o *AnsibleGitRemote) GetCaCert() string` - -GetCaCert returns the CaCert field if non-nil, zero value otherwise. - -### GetCaCertOk - -`func (o *AnsibleGitRemote) GetCaCertOk() (*string, bool)` - -GetCaCertOk returns a tuple with the CaCert field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCaCert - -`func (o *AnsibleGitRemote) SetCaCert(v string)` - -SetCaCert sets CaCert field to given value. - -### HasCaCert - -`func (o *AnsibleGitRemote) HasCaCert() bool` - -HasCaCert returns a boolean if a field has been set. - -### SetCaCertNil - -`func (o *AnsibleGitRemote) SetCaCertNil(b bool)` - - SetCaCertNil sets the value for CaCert to be an explicit nil - -### UnsetCaCert -`func (o *AnsibleGitRemote) UnsetCaCert()` - -UnsetCaCert ensures that no value is present for CaCert, not even an explicit nil -### GetSockReadTimeout - -`func (o *AnsibleGitRemote) GetSockReadTimeout() float64` - -GetSockReadTimeout returns the SockReadTimeout field if non-nil, zero value otherwise. - -### GetSockReadTimeoutOk - -`func (o *AnsibleGitRemote) GetSockReadTimeoutOk() (*float64, bool)` - -GetSockReadTimeoutOk returns a tuple with the SockReadTimeout field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSockReadTimeout - -`func (o *AnsibleGitRemote) SetSockReadTimeout(v float64)` - -SetSockReadTimeout sets SockReadTimeout field to given value. - -### HasSockReadTimeout - -`func (o *AnsibleGitRemote) HasSockReadTimeout() bool` - -HasSockReadTimeout returns a boolean if a field has been set. - -### SetSockReadTimeoutNil - -`func (o *AnsibleGitRemote) SetSockReadTimeoutNil(b bool)` - - SetSockReadTimeoutNil sets the value for SockReadTimeout to be an explicit nil - -### UnsetSockReadTimeout -`func (o *AnsibleGitRemote) UnsetSockReadTimeout()` - -UnsetSockReadTimeout ensures that no value is present for SockReadTimeout, not even an explicit nil -### GetProxyUsername +### GetName -`func (o *AnsibleGitRemote) GetProxyUsername() string` +`func (o *AnsibleGitRemote) GetName() string` -GetProxyUsername returns the ProxyUsername field if non-nil, zero value otherwise. +GetName returns the Name field if non-nil, zero value otherwise. -### GetProxyUsernameOk +### GetNameOk -`func (o *AnsibleGitRemote) GetProxyUsernameOk() (*string, bool)` +`func (o *AnsibleGitRemote) GetNameOk() (*string, bool)` -GetProxyUsernameOk returns a tuple with the ProxyUsername field if it's non-nil, zero value otherwise +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetProxyUsername - -`func (o *AnsibleGitRemote) SetProxyUsername(v string)` - -SetProxyUsername sets ProxyUsername field to given value. - -### HasProxyUsername - -`func (o *AnsibleGitRemote) HasProxyUsername() bool` - -HasProxyUsername returns a boolean if a field has been set. - -### SetProxyUsernameNil +### SetName -`func (o *AnsibleGitRemote) SetProxyUsernameNil(b bool)` +`func (o *AnsibleGitRemote) SetName(v string)` - SetProxyUsernameNil sets the value for ProxyUsername to be an explicit nil +SetName sets Name field to given value. -### UnsetProxyUsername -`func (o *AnsibleGitRemote) UnsetProxyUsername()` -UnsetProxyUsername ensures that no value is present for ProxyUsername, not even an explicit nil ### GetUsername `func (o *AnsibleGitRemote) GetUsername() string` @@ -651,41 +631,61 @@ HasUsername returns a boolean if a field has been set. `func (o *AnsibleGitRemote) UnsetUsername()` UnsetUsername ensures that no value is present for Username, not even an explicit nil -### GetClientKey +### GetClientCert -`func (o *AnsibleGitRemote) GetClientKey() string` +`func (o *AnsibleGitRemote) GetClientCert() string` -GetClientKey returns the ClientKey field if non-nil, zero value otherwise. +GetClientCert returns the ClientCert field if non-nil, zero value otherwise. -### GetClientKeyOk +### GetClientCertOk -`func (o *AnsibleGitRemote) GetClientKeyOk() (*string, bool)` +`func (o *AnsibleGitRemote) GetClientCertOk() (*string, bool)` -GetClientKeyOk returns a tuple with the ClientKey field if it's non-nil, zero value otherwise +GetClientCertOk returns a tuple with the ClientCert field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetClientKey +### SetClientCert -`func (o *AnsibleGitRemote) SetClientKey(v string)` +`func (o *AnsibleGitRemote) SetClientCert(v string)` -SetClientKey sets ClientKey field to given value. +SetClientCert sets ClientCert field to given value. -### HasClientKey +### HasClientCert -`func (o *AnsibleGitRemote) HasClientKey() bool` +`func (o *AnsibleGitRemote) HasClientCert() bool` -HasClientKey returns a boolean if a field has been set. +HasClientCert returns a boolean if a field has been set. -### SetClientKeyNil +### SetClientCertNil -`func (o *AnsibleGitRemote) SetClientKeyNil(b bool)` +`func (o *AnsibleGitRemote) SetClientCertNil(b bool)` - SetClientKeyNil sets the value for ClientKey to be an explicit nil + SetClientCertNil sets the value for ClientCert to be an explicit nil + +### UnsetClientCert +`func (o *AnsibleGitRemote) UnsetClientCert()` + +UnsetClientCert ensures that no value is present for ClientCert, not even an explicit nil +### GetUrl + +`func (o *AnsibleGitRemote) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *AnsibleGitRemote) GetUrlOk() (*string, bool)` + +GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUrl + +`func (o *AnsibleGitRemote) SetUrl(v string)` + +SetUrl sets Url field to given value. -### UnsetClientKey -`func (o *AnsibleGitRemote) UnsetClientKey()` -UnsetClientKey ensures that no value is present for ClientKey, not even an explicit nil ### GetMetadataOnly `func (o *AnsibleGitRemote) GetMetadataOnly() bool` diff --git a/release/docs/AnsibleGitRemoteResponse.md b/release/docs/AnsibleGitRemoteResponse.md index e8fa6d3a..f06a06c6 100644 --- a/release/docs/AnsibleGitRemoteResponse.md +++ b/release/docs/AnsibleGitRemoteResponse.md @@ -4,25 +4,25 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**MaxRetries** | Pointer to **NullableInt64** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] -**PulpCreated** | Pointer to **time.Time** | Timestamp of creation. | [optional] [readonly] -**ClientCert** | Pointer to **NullableString** | A PEM encoded client certificate used for authentication. | [optional] **PulpLabels** | Pointer to **map[string]string** | | [optional] +**MaxRetries** | Pointer to **NullableInt64** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] +**CaCert** | Pointer to **NullableString** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] +**SockReadTimeout** | Pointer to **NullableFloat64** | 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. | [optional] **TotalTimeout** | Pointer to **NullableFloat64** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] -**Url** | **string** | The URL of an external content source. | **PulpHref** | Pointer to **string** | | [optional] [readonly] -**TlsValidation** | Pointer to **bool** | If True, TLS peer validation must be performed. | [optional] -**HiddenFields** | Pointer to [**[]RemoteResponseHiddenFieldsInner**](RemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] [readonly] -**SockConnectTimeout** | Pointer to **NullableFloat64** | 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. | [optional] +**PulpCreated** | Pointer to **time.Time** | Timestamp of creation. | [optional] [readonly] **DownloadConcurrency** | Pointer to **NullableInt64** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] -**Name** | **string** | A unique name for this remote. | -**ConnectTimeout** | Pointer to **NullableFloat64** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] +**SockConnectTimeout** | Pointer to **NullableFloat64** | 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. | [optional] +**PulpLastUpdated** | Pointer to **time.Time** | Timestamp of the most recent update of the remote. | [optional] [readonly] +**TlsValidation** | Pointer to **bool** | If True, TLS peer validation must be performed. | [optional] **Headers** | Pointer to **[]map[string]interface{}** | Headers for aiohttp.Clientsession | [optional] +**ConnectTimeout** | Pointer to **NullableFloat64** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] +**HiddenFields** | Pointer to [**[]RemoteResponseHiddenFieldsInner**](RemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] [readonly] **ProxyUrl** | Pointer to **NullableString** | The proxy URL. Format: scheme://host:port | [optional] **RateLimit** | Pointer to **NullableInt64** | Limits requests per second for each concurrent downloader | [optional] -**CaCert** | Pointer to **NullableString** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] -**PulpLastUpdated** | Pointer to **time.Time** | Timestamp of the most recent update of the remote. | [optional] [readonly] -**SockReadTimeout** | Pointer to **NullableFloat64** | 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. | [optional] +**Name** | **string** | A unique name for this remote. | +**ClientCert** | Pointer to **NullableString** | A PEM encoded client certificate used for authentication. | [optional] +**Url** | **string** | The URL of an external content source. | **MetadataOnly** | Pointer to **bool** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] **GitRef** | Pointer to **string** | A git ref. e.g.: branch, tag, or commit sha. | [optional] @@ -30,7 +30,7 @@ Name | Type | Description | Notes ### NewAnsibleGitRemoteResponse -`func NewAnsibleGitRemoteResponse(url string, name string, ) *AnsibleGitRemoteResponse` +`func NewAnsibleGitRemoteResponse(name string, url string, ) *AnsibleGitRemoteResponse` NewAnsibleGitRemoteResponse instantiates a new AnsibleGitRemoteResponse object This constructor will assign default values to properties that have it defined, @@ -45,6 +45,31 @@ NewAnsibleGitRemoteResponseWithDefaults instantiates a new AnsibleGitRemoteRespo This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set +### GetPulpLabels + +`func (o *AnsibleGitRemoteResponse) GetPulpLabels() map[string]string` + +GetPulpLabels returns the PulpLabels field if non-nil, zero value otherwise. + +### GetPulpLabelsOk + +`func (o *AnsibleGitRemoteResponse) GetPulpLabelsOk() (*map[string]string, bool)` + +GetPulpLabelsOk returns a tuple with the PulpLabels field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPulpLabels + +`func (o *AnsibleGitRemoteResponse) SetPulpLabels(v map[string]string)` + +SetPulpLabels sets PulpLabels field to given value. + +### HasPulpLabels + +`func (o *AnsibleGitRemoteResponse) HasPulpLabels() bool` + +HasPulpLabels returns a boolean if a field has been set. + ### GetMaxRetries `func (o *AnsibleGitRemoteResponse) GetMaxRetries() int64` @@ -80,91 +105,76 @@ HasMaxRetries returns a boolean if a field has been set. `func (o *AnsibleGitRemoteResponse) UnsetMaxRetries()` UnsetMaxRetries ensures that no value is present for MaxRetries, not even an explicit nil -### GetPulpCreated +### GetCaCert -`func (o *AnsibleGitRemoteResponse) GetPulpCreated() time.Time` +`func (o *AnsibleGitRemoteResponse) GetCaCert() string` -GetPulpCreated returns the PulpCreated field if non-nil, zero value otherwise. +GetCaCert returns the CaCert field if non-nil, zero value otherwise. -### GetPulpCreatedOk +### GetCaCertOk -`func (o *AnsibleGitRemoteResponse) GetPulpCreatedOk() (*time.Time, bool)` +`func (o *AnsibleGitRemoteResponse) GetCaCertOk() (*string, bool)` -GetPulpCreatedOk returns a tuple with the PulpCreated field if it's non-nil, zero value otherwise +GetCaCertOk returns a tuple with the CaCert field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetPulpCreated - -`func (o *AnsibleGitRemoteResponse) SetPulpCreated(v time.Time)` - -SetPulpCreated sets PulpCreated field to given value. - -### HasPulpCreated - -`func (o *AnsibleGitRemoteResponse) HasPulpCreated() bool` - -HasPulpCreated returns a boolean if a field has been set. - -### GetClientCert - -`func (o *AnsibleGitRemoteResponse) GetClientCert() string` - -GetClientCert returns the ClientCert field if non-nil, zero value otherwise. +### SetCaCert -### GetClientCertOk +`func (o *AnsibleGitRemoteResponse) SetCaCert(v string)` -`func (o *AnsibleGitRemoteResponse) GetClientCertOk() (*string, bool)` +SetCaCert sets CaCert field to given value. -GetClientCertOk returns a tuple with the ClientCert field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. +### HasCaCert -### SetClientCert +`func (o *AnsibleGitRemoteResponse) HasCaCert() bool` -`func (o *AnsibleGitRemoteResponse) SetClientCert(v string)` +HasCaCert returns a boolean if a field has been set. -SetClientCert sets ClientCert field to given value. +### SetCaCertNil -### HasClientCert +`func (o *AnsibleGitRemoteResponse) SetCaCertNil(b bool)` -`func (o *AnsibleGitRemoteResponse) HasClientCert() bool` + SetCaCertNil sets the value for CaCert to be an explicit nil -HasClientCert returns a boolean if a field has been set. +### UnsetCaCert +`func (o *AnsibleGitRemoteResponse) UnsetCaCert()` -### SetClientCertNil +UnsetCaCert ensures that no value is present for CaCert, not even an explicit nil +### GetSockReadTimeout -`func (o *AnsibleGitRemoteResponse) SetClientCertNil(b bool)` +`func (o *AnsibleGitRemoteResponse) GetSockReadTimeout() float64` - SetClientCertNil sets the value for ClientCert to be an explicit nil +GetSockReadTimeout returns the SockReadTimeout field if non-nil, zero value otherwise. -### UnsetClientCert -`func (o *AnsibleGitRemoteResponse) UnsetClientCert()` +### GetSockReadTimeoutOk -UnsetClientCert ensures that no value is present for ClientCert, not even an explicit nil -### GetPulpLabels +`func (o *AnsibleGitRemoteResponse) GetSockReadTimeoutOk() (*float64, bool)` -`func (o *AnsibleGitRemoteResponse) GetPulpLabels() map[string]string` +GetSockReadTimeoutOk returns a tuple with the SockReadTimeout field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. -GetPulpLabels returns the PulpLabels field if non-nil, zero value otherwise. +### SetSockReadTimeout -### GetPulpLabelsOk +`func (o *AnsibleGitRemoteResponse) SetSockReadTimeout(v float64)` -`func (o *AnsibleGitRemoteResponse) GetPulpLabelsOk() (*map[string]string, bool)` +SetSockReadTimeout sets SockReadTimeout field to given value. -GetPulpLabelsOk returns a tuple with the PulpLabels field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. +### HasSockReadTimeout -### SetPulpLabels +`func (o *AnsibleGitRemoteResponse) HasSockReadTimeout() bool` -`func (o *AnsibleGitRemoteResponse) SetPulpLabels(v map[string]string)` +HasSockReadTimeout returns a boolean if a field has been set. -SetPulpLabels sets PulpLabels field to given value. +### SetSockReadTimeoutNil -### HasPulpLabels +`func (o *AnsibleGitRemoteResponse) SetSockReadTimeoutNil(b bool)` -`func (o *AnsibleGitRemoteResponse) HasPulpLabels() bool` + SetSockReadTimeoutNil sets the value for SockReadTimeout to be an explicit nil -HasPulpLabels returns a boolean if a field has been set. +### UnsetSockReadTimeout +`func (o *AnsibleGitRemoteResponse) UnsetSockReadTimeout()` +UnsetSockReadTimeout ensures that no value is present for SockReadTimeout, not even an explicit nil ### GetTotalTimeout `func (o *AnsibleGitRemoteResponse) GetTotalTimeout() float64` @@ -200,26 +210,6 @@ HasTotalTimeout returns a boolean if a field has been set. `func (o *AnsibleGitRemoteResponse) UnsetTotalTimeout()` UnsetTotalTimeout ensures that no value is present for TotalTimeout, not even an explicit nil -### GetUrl - -`func (o *AnsibleGitRemoteResponse) GetUrl() string` - -GetUrl returns the Url field if non-nil, zero value otherwise. - -### GetUrlOk - -`func (o *AnsibleGitRemoteResponse) GetUrlOk() (*string, bool)` - -GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUrl - -`func (o *AnsibleGitRemoteResponse) SetUrl(v string)` - -SetUrl sets Url field to given value. - - ### GetPulpHref `func (o *AnsibleGitRemoteResponse) GetPulpHref() string` @@ -245,56 +235,66 @@ SetPulpHref sets PulpHref field to given value. HasPulpHref returns a boolean if a field has been set. -### GetTlsValidation +### GetPulpCreated -`func (o *AnsibleGitRemoteResponse) GetTlsValidation() bool` +`func (o *AnsibleGitRemoteResponse) GetPulpCreated() time.Time` -GetTlsValidation returns the TlsValidation field if non-nil, zero value otherwise. +GetPulpCreated returns the PulpCreated field if non-nil, zero value otherwise. -### GetTlsValidationOk +### GetPulpCreatedOk -`func (o *AnsibleGitRemoteResponse) GetTlsValidationOk() (*bool, bool)` +`func (o *AnsibleGitRemoteResponse) GetPulpCreatedOk() (*time.Time, bool)` -GetTlsValidationOk returns a tuple with the TlsValidation field if it's non-nil, zero value otherwise +GetPulpCreatedOk returns a tuple with the PulpCreated field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetTlsValidation +### SetPulpCreated -`func (o *AnsibleGitRemoteResponse) SetTlsValidation(v bool)` +`func (o *AnsibleGitRemoteResponse) SetPulpCreated(v time.Time)` -SetTlsValidation sets TlsValidation field to given value. +SetPulpCreated sets PulpCreated field to given value. -### HasTlsValidation +### HasPulpCreated -`func (o *AnsibleGitRemoteResponse) HasTlsValidation() bool` +`func (o *AnsibleGitRemoteResponse) HasPulpCreated() bool` -HasTlsValidation returns a boolean if a field has been set. +HasPulpCreated returns a boolean if a field has been set. -### GetHiddenFields +### GetDownloadConcurrency -`func (o *AnsibleGitRemoteResponse) GetHiddenFields() []RemoteResponseHiddenFieldsInner` +`func (o *AnsibleGitRemoteResponse) GetDownloadConcurrency() int64` -GetHiddenFields returns the HiddenFields field if non-nil, zero value otherwise. +GetDownloadConcurrency returns the DownloadConcurrency field if non-nil, zero value otherwise. -### GetHiddenFieldsOk +### GetDownloadConcurrencyOk -`func (o *AnsibleGitRemoteResponse) GetHiddenFieldsOk() (*[]RemoteResponseHiddenFieldsInner, bool)` +`func (o *AnsibleGitRemoteResponse) GetDownloadConcurrencyOk() (*int64, bool)` -GetHiddenFieldsOk returns a tuple with the HiddenFields field if it's non-nil, zero value otherwise +GetDownloadConcurrencyOk returns a tuple with the DownloadConcurrency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetHiddenFields +### SetDownloadConcurrency -`func (o *AnsibleGitRemoteResponse) SetHiddenFields(v []RemoteResponseHiddenFieldsInner)` +`func (o *AnsibleGitRemoteResponse) SetDownloadConcurrency(v int64)` -SetHiddenFields sets HiddenFields field to given value. +SetDownloadConcurrency sets DownloadConcurrency field to given value. -### HasHiddenFields +### HasDownloadConcurrency -`func (o *AnsibleGitRemoteResponse) HasHiddenFields() bool` +`func (o *AnsibleGitRemoteResponse) HasDownloadConcurrency() bool` -HasHiddenFields returns a boolean if a field has been set. +HasDownloadConcurrency returns a boolean if a field has been set. + +### SetDownloadConcurrencyNil +`func (o *AnsibleGitRemoteResponse) SetDownloadConcurrencyNil(b bool)` + + SetDownloadConcurrencyNil sets the value for DownloadConcurrency to be an explicit nil + +### UnsetDownloadConcurrency +`func (o *AnsibleGitRemoteResponse) UnsetDownloadConcurrency()` + +UnsetDownloadConcurrency ensures that no value is present for DownloadConcurrency, not even an explicit nil ### GetSockConnectTimeout `func (o *AnsibleGitRemoteResponse) GetSockConnectTimeout() float64` @@ -330,60 +330,80 @@ HasSockConnectTimeout returns a boolean if a field has been set. `func (o *AnsibleGitRemoteResponse) UnsetSockConnectTimeout()` UnsetSockConnectTimeout ensures that no value is present for SockConnectTimeout, not even an explicit nil -### GetDownloadConcurrency +### GetPulpLastUpdated -`func (o *AnsibleGitRemoteResponse) GetDownloadConcurrency() int64` +`func (o *AnsibleGitRemoteResponse) GetPulpLastUpdated() time.Time` -GetDownloadConcurrency returns the DownloadConcurrency field if non-nil, zero value otherwise. +GetPulpLastUpdated returns the PulpLastUpdated field if non-nil, zero value otherwise. -### GetDownloadConcurrencyOk +### GetPulpLastUpdatedOk -`func (o *AnsibleGitRemoteResponse) GetDownloadConcurrencyOk() (*int64, bool)` +`func (o *AnsibleGitRemoteResponse) GetPulpLastUpdatedOk() (*time.Time, bool)` -GetDownloadConcurrencyOk returns a tuple with the DownloadConcurrency field if it's non-nil, zero value otherwise +GetPulpLastUpdatedOk returns a tuple with the PulpLastUpdated field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetDownloadConcurrency +### SetPulpLastUpdated -`func (o *AnsibleGitRemoteResponse) SetDownloadConcurrency(v int64)` +`func (o *AnsibleGitRemoteResponse) SetPulpLastUpdated(v time.Time)` -SetDownloadConcurrency sets DownloadConcurrency field to given value. +SetPulpLastUpdated sets PulpLastUpdated field to given value. -### HasDownloadConcurrency +### HasPulpLastUpdated -`func (o *AnsibleGitRemoteResponse) HasDownloadConcurrency() bool` +`func (o *AnsibleGitRemoteResponse) HasPulpLastUpdated() bool` -HasDownloadConcurrency returns a boolean if a field has been set. +HasPulpLastUpdated returns a boolean if a field has been set. -### SetDownloadConcurrencyNil +### GetTlsValidation -`func (o *AnsibleGitRemoteResponse) SetDownloadConcurrencyNil(b bool)` +`func (o *AnsibleGitRemoteResponse) GetTlsValidation() bool` - SetDownloadConcurrencyNil sets the value for DownloadConcurrency to be an explicit nil +GetTlsValidation returns the TlsValidation field if non-nil, zero value otherwise. -### UnsetDownloadConcurrency -`func (o *AnsibleGitRemoteResponse) UnsetDownloadConcurrency()` +### GetTlsValidationOk -UnsetDownloadConcurrency ensures that no value is present for DownloadConcurrency, not even an explicit nil -### GetName +`func (o *AnsibleGitRemoteResponse) GetTlsValidationOk() (*bool, bool)` -`func (o *AnsibleGitRemoteResponse) GetName() string` +GetTlsValidationOk returns a tuple with the TlsValidation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. -GetName returns the Name field if non-nil, zero value otherwise. +### SetTlsValidation -### GetNameOk +`func (o *AnsibleGitRemoteResponse) SetTlsValidation(v bool)` -`func (o *AnsibleGitRemoteResponse) GetNameOk() (*string, bool)` +SetTlsValidation sets TlsValidation field to given value. -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +### HasTlsValidation + +`func (o *AnsibleGitRemoteResponse) HasTlsValidation() bool` + +HasTlsValidation returns a boolean if a field has been set. + +### GetHeaders + +`func (o *AnsibleGitRemoteResponse) GetHeaders() []map[string]interface{}` + +GetHeaders returns the Headers field if non-nil, zero value otherwise. + +### GetHeadersOk + +`func (o *AnsibleGitRemoteResponse) GetHeadersOk() (*[]map[string]interface{}, bool)` + +GetHeadersOk returns a tuple with the Headers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetName +### SetHeaders -`func (o *AnsibleGitRemoteResponse) SetName(v string)` +`func (o *AnsibleGitRemoteResponse) SetHeaders(v []map[string]interface{})` -SetName sets Name field to given value. +SetHeaders sets Headers field to given value. +### HasHeaders + +`func (o *AnsibleGitRemoteResponse) HasHeaders() bool` + +HasHeaders returns a boolean if a field has been set. ### GetConnectTimeout @@ -420,30 +440,30 @@ HasConnectTimeout returns a boolean if a field has been set. `func (o *AnsibleGitRemoteResponse) UnsetConnectTimeout()` UnsetConnectTimeout ensures that no value is present for ConnectTimeout, not even an explicit nil -### GetHeaders +### GetHiddenFields -`func (o *AnsibleGitRemoteResponse) GetHeaders() []map[string]interface{}` +`func (o *AnsibleGitRemoteResponse) GetHiddenFields() []RemoteResponseHiddenFieldsInner` -GetHeaders returns the Headers field if non-nil, zero value otherwise. +GetHiddenFields returns the HiddenFields field if non-nil, zero value otherwise. -### GetHeadersOk +### GetHiddenFieldsOk -`func (o *AnsibleGitRemoteResponse) GetHeadersOk() (*[]map[string]interface{}, bool)` +`func (o *AnsibleGitRemoteResponse) GetHiddenFieldsOk() (*[]RemoteResponseHiddenFieldsInner, bool)` -GetHeadersOk returns a tuple with the Headers field if it's non-nil, zero value otherwise +GetHiddenFieldsOk returns a tuple with the HiddenFields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetHeaders +### SetHiddenFields -`func (o *AnsibleGitRemoteResponse) SetHeaders(v []map[string]interface{})` +`func (o *AnsibleGitRemoteResponse) SetHiddenFields(v []RemoteResponseHiddenFieldsInner)` -SetHeaders sets Headers field to given value. +SetHiddenFields sets HiddenFields field to given value. -### HasHeaders +### HasHiddenFields -`func (o *AnsibleGitRemoteResponse) HasHeaders() bool` +`func (o *AnsibleGitRemoteResponse) HasHiddenFields() bool` -HasHeaders returns a boolean if a field has been set. +HasHiddenFields returns a boolean if a field has been set. ### GetProxyUrl @@ -515,101 +535,81 @@ HasRateLimit returns a boolean if a field has been set. `func (o *AnsibleGitRemoteResponse) UnsetRateLimit()` UnsetRateLimit ensures that no value is present for RateLimit, not even an explicit nil -### GetCaCert +### GetName -`func (o *AnsibleGitRemoteResponse) GetCaCert() string` +`func (o *AnsibleGitRemoteResponse) GetName() string` -GetCaCert returns the CaCert field if non-nil, zero value otherwise. +GetName returns the Name field if non-nil, zero value otherwise. -### GetCaCertOk +### GetNameOk -`func (o *AnsibleGitRemoteResponse) GetCaCertOk() (*string, bool)` +`func (o *AnsibleGitRemoteResponse) GetNameOk() (*string, bool)` -GetCaCertOk returns a tuple with the CaCert field if it's non-nil, zero value otherwise +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetCaCert - -`func (o *AnsibleGitRemoteResponse) SetCaCert(v string)` - -SetCaCert sets CaCert field to given value. - -### HasCaCert - -`func (o *AnsibleGitRemoteResponse) HasCaCert() bool` - -HasCaCert returns a boolean if a field has been set. +### SetName -### SetCaCertNil +`func (o *AnsibleGitRemoteResponse) SetName(v string)` -`func (o *AnsibleGitRemoteResponse) SetCaCertNil(b bool)` +SetName sets Name field to given value. - SetCaCertNil sets the value for CaCert to be an explicit nil -### UnsetCaCert -`func (o *AnsibleGitRemoteResponse) UnsetCaCert()` - -UnsetCaCert ensures that no value is present for CaCert, not even an explicit nil -### GetPulpLastUpdated +### GetClientCert -`func (o *AnsibleGitRemoteResponse) GetPulpLastUpdated() time.Time` +`func (o *AnsibleGitRemoteResponse) GetClientCert() string` -GetPulpLastUpdated returns the PulpLastUpdated field if non-nil, zero value otherwise. +GetClientCert returns the ClientCert field if non-nil, zero value otherwise. -### GetPulpLastUpdatedOk +### GetClientCertOk -`func (o *AnsibleGitRemoteResponse) GetPulpLastUpdatedOk() (*time.Time, bool)` +`func (o *AnsibleGitRemoteResponse) GetClientCertOk() (*string, bool)` -GetPulpLastUpdatedOk returns a tuple with the PulpLastUpdated field if it's non-nil, zero value otherwise +GetClientCertOk returns a tuple with the ClientCert field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetPulpLastUpdated - -`func (o *AnsibleGitRemoteResponse) SetPulpLastUpdated(v time.Time)` - -SetPulpLastUpdated sets PulpLastUpdated field to given value. +### SetClientCert -### HasPulpLastUpdated +`func (o *AnsibleGitRemoteResponse) SetClientCert(v string)` -`func (o *AnsibleGitRemoteResponse) HasPulpLastUpdated() bool` +SetClientCert sets ClientCert field to given value. -HasPulpLastUpdated returns a boolean if a field has been set. +### HasClientCert -### GetSockReadTimeout +`func (o *AnsibleGitRemoteResponse) HasClientCert() bool` -`func (o *AnsibleGitRemoteResponse) GetSockReadTimeout() float64` +HasClientCert returns a boolean if a field has been set. -GetSockReadTimeout returns the SockReadTimeout field if non-nil, zero value otherwise. +### SetClientCertNil -### GetSockReadTimeoutOk +`func (o *AnsibleGitRemoteResponse) SetClientCertNil(b bool)` -`func (o *AnsibleGitRemoteResponse) GetSockReadTimeoutOk() (*float64, bool)` + SetClientCertNil sets the value for ClientCert to be an explicit nil -GetSockReadTimeoutOk returns a tuple with the SockReadTimeout field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. +### UnsetClientCert +`func (o *AnsibleGitRemoteResponse) UnsetClientCert()` -### SetSockReadTimeout +UnsetClientCert ensures that no value is present for ClientCert, not even an explicit nil +### GetUrl -`func (o *AnsibleGitRemoteResponse) SetSockReadTimeout(v float64)` +`func (o *AnsibleGitRemoteResponse) GetUrl() string` -SetSockReadTimeout sets SockReadTimeout field to given value. +GetUrl returns the Url field if non-nil, zero value otherwise. -### HasSockReadTimeout +### GetUrlOk -`func (o *AnsibleGitRemoteResponse) HasSockReadTimeout() bool` +`func (o *AnsibleGitRemoteResponse) GetUrlOk() (*string, bool)` -HasSockReadTimeout returns a boolean if a field has been set. +GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. -### SetSockReadTimeoutNil +### SetUrl -`func (o *AnsibleGitRemoteResponse) SetSockReadTimeoutNil(b bool)` +`func (o *AnsibleGitRemoteResponse) SetUrl(v string)` - SetSockReadTimeoutNil sets the value for SockReadTimeout to be an explicit nil +SetUrl sets Url field to given value. -### UnsetSockReadTimeout -`func (o *AnsibleGitRemoteResponse) UnsetSockReadTimeout()` -UnsetSockReadTimeout ensures that no value is present for SockReadTimeout, not even an explicit nil ### GetMetadataOnly `func (o *AnsibleGitRemoteResponse) GetMetadataOnly() bool` diff --git a/release/docs/AnsibleRoleResponse.md b/release/docs/AnsibleRoleResponse.md index 0ba7e373..adebc3d9 100644 --- a/release/docs/AnsibleRoleResponse.md +++ b/release/docs/AnsibleRoleResponse.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PulpHref** | Pointer to **string** | | [optional] [readonly] -**Artifact** | **string** | Artifact file representing the physical content | **PulpCreated** | Pointer to **time.Time** | Timestamp of creation. | [optional] [readonly] +**Artifact** | **string** | Artifact file representing the physical content | **Version** | **string** | | **Name** | **string** | | **Namespace** | **string** | | @@ -55,26 +55,6 @@ SetPulpHref sets PulpHref field to given value. HasPulpHref returns a boolean if a field has been set. -### GetArtifact - -`func (o *AnsibleRoleResponse) GetArtifact() string` - -GetArtifact returns the Artifact field if non-nil, zero value otherwise. - -### GetArtifactOk - -`func (o *AnsibleRoleResponse) GetArtifactOk() (*string, bool)` - -GetArtifactOk returns a tuple with the Artifact field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetArtifact - -`func (o *AnsibleRoleResponse) SetArtifact(v string)` - -SetArtifact sets Artifact field to given value. - - ### GetPulpCreated `func (o *AnsibleRoleResponse) GetPulpCreated() time.Time` @@ -100,6 +80,26 @@ SetPulpCreated sets PulpCreated field to given value. HasPulpCreated returns a boolean if a field has been set. +### GetArtifact + +`func (o *AnsibleRoleResponse) GetArtifact() string` + +GetArtifact returns the Artifact field if non-nil, zero value otherwise. + +### GetArtifactOk + +`func (o *AnsibleRoleResponse) GetArtifactOk() (*string, bool)` + +GetArtifactOk returns a tuple with the Artifact field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtifact + +`func (o *AnsibleRoleResponse) SetArtifact(v string)` + +SetArtifact sets Artifact field to given value. + + ### GetVersion `func (o *AnsibleRoleResponse) GetVersion() string` diff --git a/release/docs/ArtifactDistributionResponse.md b/release/docs/ArtifactDistributionResponse.md index 9b25f406..8650e056 100644 --- a/release/docs/ArtifactDistributionResponse.md +++ b/release/docs/ArtifactDistributionResponse.md @@ -4,13 +4,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**PulpCreated** | Pointer to **time.Time** | Timestamp of creation. | [optional] [readonly] -**PulpLabels** | Pointer to **map[string]string** | | [optional] **BaseUrl** | Pointer to **string** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly] +**PulpLabels** | Pointer to **map[string]string** | | [optional] **BasePath** | **string** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | **PulpHref** | Pointer to **string** | | [optional] [readonly] +**PulpCreated** | Pointer to **time.Time** | Timestamp of creation. | [optional] [readonly] **ContentGuard** | Pointer to **NullableString** | An optional content-guard. | [optional] **Name** | **string** | A unique name. Ex, `rawhide` and `stable`. | +**Hidden** | Pointer to **bool** | Whether this distribution should be shown in the content app. | [optional] [default to false] ## Methods @@ -31,30 +32,30 @@ NewArtifactDistributionResponseWithDefaults instantiates a new ArtifactDistribut This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetPulpCreated +### GetBaseUrl -`func (o *ArtifactDistributionResponse) GetPulpCreated() time.Time` +`func (o *ArtifactDistributionResponse) GetBaseUrl() string` -GetPulpCreated returns the PulpCreated field if non-nil, zero value otherwise. +GetBaseUrl returns the BaseUrl field if non-nil, zero value otherwise. -### GetPulpCreatedOk +### GetBaseUrlOk -`func (o *ArtifactDistributionResponse) GetPulpCreatedOk() (*time.Time, bool)` +`func (o *ArtifactDistributionResponse) GetBaseUrlOk() (*string, bool)` -GetPulpCreatedOk returns a tuple with the PulpCreated field if it's non-nil, zero value otherwise +GetBaseUrlOk returns a tuple with the BaseUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetPulpCreated +### SetBaseUrl -`func (o *ArtifactDistributionResponse) SetPulpCreated(v time.Time)` +`func (o *ArtifactDistributionResponse) SetBaseUrl(v string)` -SetPulpCreated sets PulpCreated field to given value. +SetBaseUrl sets BaseUrl field to given value. -### HasPulpCreated +### HasBaseUrl -`func (o *ArtifactDistributionResponse) HasPulpCreated() bool` +`func (o *ArtifactDistributionResponse) HasBaseUrl() bool` -HasPulpCreated returns a boolean if a field has been set. +HasBaseUrl returns a boolean if a field has been set. ### GetPulpLabels @@ -81,31 +82,6 @@ SetPulpLabels sets PulpLabels field to given value. HasPulpLabels returns a boolean if a field has been set. -### GetBaseUrl - -`func (o *ArtifactDistributionResponse) GetBaseUrl() string` - -GetBaseUrl returns the BaseUrl field if non-nil, zero value otherwise. - -### GetBaseUrlOk - -`func (o *ArtifactDistributionResponse) GetBaseUrlOk() (*string, bool)` - -GetBaseUrlOk returns a tuple with the BaseUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBaseUrl - -`func (o *ArtifactDistributionResponse) SetBaseUrl(v string)` - -SetBaseUrl sets BaseUrl field to given value. - -### HasBaseUrl - -`func (o *ArtifactDistributionResponse) HasBaseUrl() bool` - -HasBaseUrl returns a boolean if a field has been set. - ### GetBasePath `func (o *ArtifactDistributionResponse) GetBasePath() string` @@ -151,6 +127,31 @@ SetPulpHref sets PulpHref field to given value. HasPulpHref returns a boolean if a field has been set. +### GetPulpCreated + +`func (o *ArtifactDistributionResponse) GetPulpCreated() time.Time` + +GetPulpCreated returns the PulpCreated field if non-nil, zero value otherwise. + +### GetPulpCreatedOk + +`func (o *ArtifactDistributionResponse) GetPulpCreatedOk() (*time.Time, bool)` + +GetPulpCreatedOk returns a tuple with the PulpCreated field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPulpCreated + +`func (o *ArtifactDistributionResponse) SetPulpCreated(v time.Time)` + +SetPulpCreated sets PulpCreated field to given value. + +### HasPulpCreated + +`func (o *ArtifactDistributionResponse) HasPulpCreated() bool` + +HasPulpCreated returns a boolean if a field has been set. + ### GetContentGuard `func (o *ArtifactDistributionResponse) GetContentGuard() string` @@ -206,6 +207,31 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetHidden + +`func (o *ArtifactDistributionResponse) GetHidden() bool` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *ArtifactDistributionResponse) GetHiddenOk() (*bool, bool)` + +GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHidden + +`func (o *ArtifactDistributionResponse) SetHidden(v bool)` + +SetHidden sets Hidden field to given value. + +### HasHidden + +`func (o *ArtifactDistributionResponse) HasHidden() bool` + +HasHidden returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/release/docs/ContainerContainerDistribution.md b/release/docs/ContainerContainerDistribution.md index b2177dbb..5f296869 100644 --- a/release/docs/ContainerContainerDistribution.md +++ b/release/docs/ContainerContainerDistribution.md @@ -5,10 +5,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PulpLabels** | Pointer to **map[string]string** | | [optional] -**BasePath** | **string** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | **Repository** | Pointer to **NullableString** | The latest RepositoryVersion for this Repository will be served. | [optional] +**BasePath** | **string** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | **ContentGuard** | Pointer to **string** | An optional content-guard. If none is specified, a default one will be used. | [optional] **Name** | **string** | A unique name. Ex, `rawhide` and `stable`. | +**Hidden** | Pointer to **bool** | Whether this distribution should be shown in the content app. | [optional] [default to false] **RepositoryVersion** | Pointer to **NullableString** | RepositoryVersion to be served | [optional] **Private** | Pointer to **bool** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional] **Description** | Pointer to **NullableString** | An optional description. | [optional] @@ -57,26 +58,6 @@ SetPulpLabels sets PulpLabels field to given value. HasPulpLabels returns a boolean if a field has been set. -### GetBasePath - -`func (o *ContainerContainerDistribution) GetBasePath() string` - -GetBasePath returns the BasePath field if non-nil, zero value otherwise. - -### GetBasePathOk - -`func (o *ContainerContainerDistribution) GetBasePathOk() (*string, bool)` - -GetBasePathOk returns a tuple with the BasePath field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBasePath - -`func (o *ContainerContainerDistribution) SetBasePath(v string)` - -SetBasePath sets BasePath field to given value. - - ### GetRepository `func (o *ContainerContainerDistribution) GetRepository() string` @@ -112,6 +93,26 @@ HasRepository returns a boolean if a field has been set. `func (o *ContainerContainerDistribution) UnsetRepository()` UnsetRepository ensures that no value is present for Repository, not even an explicit nil +### GetBasePath + +`func (o *ContainerContainerDistribution) GetBasePath() string` + +GetBasePath returns the BasePath field if non-nil, zero value otherwise. + +### GetBasePathOk + +`func (o *ContainerContainerDistribution) GetBasePathOk() (*string, bool)` + +GetBasePathOk returns a tuple with the BasePath field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBasePath + +`func (o *ContainerContainerDistribution) SetBasePath(v string)` + +SetBasePath sets BasePath field to given value. + + ### GetContentGuard `func (o *ContainerContainerDistribution) GetContentGuard() string` @@ -157,6 +158,31 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetHidden + +`func (o *ContainerContainerDistribution) GetHidden() bool` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *ContainerContainerDistribution) GetHiddenOk() (*bool, bool)` + +GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHidden + +`func (o *ContainerContainerDistribution) SetHidden(v bool)` + +SetHidden sets Hidden field to given value. + +### HasHidden + +`func (o *ContainerContainerDistribution) HasHidden() bool` + +HasHidden returns a boolean if a field has been set. + ### GetRepositoryVersion `func (o *ContainerContainerDistribution) GetRepositoryVersion() string` diff --git a/release/docs/ContainerContainerDistributionResponse.md b/release/docs/ContainerContainerDistributionResponse.md index 855a8908..886d9e35 100644 --- a/release/docs/ContainerContainerDistributionResponse.md +++ b/release/docs/ContainerContainerDistributionResponse.md @@ -4,13 +4,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**PulpCreated** | Pointer to **time.Time** | Timestamp of creation. | [optional] [readonly] **PulpLabels** | Pointer to **map[string]string** | | [optional] -**BasePath** | **string** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | **Repository** | Pointer to **NullableString** | The latest RepositoryVersion for this Repository will be served. | [optional] +**BasePath** | **string** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | **PulpHref** | Pointer to **string** | | [optional] [readonly] +**PulpCreated** | Pointer to **time.Time** | Timestamp of creation. | [optional] [readonly] **ContentGuard** | Pointer to **string** | An optional content-guard. If none is specified, a default one will be used. | [optional] **Name** | **string** | A unique name. Ex, `rawhide` and `stable`. | +**Hidden** | Pointer to **bool** | Whether this distribution should be shown in the content app. | [optional] [default to false] **RepositoryVersion** | Pointer to **NullableString** | RepositoryVersion to be served | [optional] **RegistryPath** | Pointer to **string** | The Registry hostname/name/ to use with docker pull command defined by this distribution. | [optional] [readonly] **Namespace** | Pointer to **string** | Namespace this distribution belongs to. | [optional] [readonly] @@ -36,31 +37,6 @@ NewContainerContainerDistributionResponseWithDefaults instantiates a new Contain This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetPulpCreated - -`func (o *ContainerContainerDistributionResponse) GetPulpCreated() time.Time` - -GetPulpCreated returns the PulpCreated field if non-nil, zero value otherwise. - -### GetPulpCreatedOk - -`func (o *ContainerContainerDistributionResponse) GetPulpCreatedOk() (*time.Time, bool)` - -GetPulpCreatedOk returns a tuple with the PulpCreated field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPulpCreated - -`func (o *ContainerContainerDistributionResponse) SetPulpCreated(v time.Time)` - -SetPulpCreated sets PulpCreated field to given value. - -### HasPulpCreated - -`func (o *ContainerContainerDistributionResponse) HasPulpCreated() bool` - -HasPulpCreated returns a boolean if a field has been set. - ### GetPulpLabels `func (o *ContainerContainerDistributionResponse) GetPulpLabels() map[string]string` @@ -86,26 +62,6 @@ SetPulpLabels sets PulpLabels field to given value. HasPulpLabels returns a boolean if a field has been set. -### GetBasePath - -`func (o *ContainerContainerDistributionResponse) GetBasePath() string` - -GetBasePath returns the BasePath field if non-nil, zero value otherwise. - -### GetBasePathOk - -`func (o *ContainerContainerDistributionResponse) GetBasePathOk() (*string, bool)` - -GetBasePathOk returns a tuple with the BasePath field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBasePath - -`func (o *ContainerContainerDistributionResponse) SetBasePath(v string)` - -SetBasePath sets BasePath field to given value. - - ### GetRepository `func (o *ContainerContainerDistributionResponse) GetRepository() string` @@ -141,6 +97,26 @@ HasRepository returns a boolean if a field has been set. `func (o *ContainerContainerDistributionResponse) UnsetRepository()` UnsetRepository ensures that no value is present for Repository, not even an explicit nil +### GetBasePath + +`func (o *ContainerContainerDistributionResponse) GetBasePath() string` + +GetBasePath returns the BasePath field if non-nil, zero value otherwise. + +### GetBasePathOk + +`func (o *ContainerContainerDistributionResponse) GetBasePathOk() (*string, bool)` + +GetBasePathOk returns a tuple with the BasePath field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBasePath + +`func (o *ContainerContainerDistributionResponse) SetBasePath(v string)` + +SetBasePath sets BasePath field to given value. + + ### GetPulpHref `func (o *ContainerContainerDistributionResponse) GetPulpHref() string` @@ -166,6 +142,31 @@ SetPulpHref sets PulpHref field to given value. HasPulpHref returns a boolean if a field has been set. +### GetPulpCreated + +`func (o *ContainerContainerDistributionResponse) GetPulpCreated() time.Time` + +GetPulpCreated returns the PulpCreated field if non-nil, zero value otherwise. + +### GetPulpCreatedOk + +`func (o *ContainerContainerDistributionResponse) GetPulpCreatedOk() (*time.Time, bool)` + +GetPulpCreatedOk returns a tuple with the PulpCreated field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPulpCreated + +`func (o *ContainerContainerDistributionResponse) SetPulpCreated(v time.Time)` + +SetPulpCreated sets PulpCreated field to given value. + +### HasPulpCreated + +`func (o *ContainerContainerDistributionResponse) HasPulpCreated() bool` + +HasPulpCreated returns a boolean if a field has been set. + ### GetContentGuard `func (o *ContainerContainerDistributionResponse) GetContentGuard() string` @@ -211,6 +212,31 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetHidden + +`func (o *ContainerContainerDistributionResponse) GetHidden() bool` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *ContainerContainerDistributionResponse) GetHiddenOk() (*bool, bool)` + +GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHidden + +`func (o *ContainerContainerDistributionResponse) SetHidden(v bool)` + +SetHidden sets Hidden field to given value. + +### HasHidden + +`func (o *ContainerContainerDistributionResponse) HasHidden() bool` + +HasHidden returns a boolean if a field has been set. + ### GetRepositoryVersion `func (o *ContainerContainerDistributionResponse) GetRepositoryVersion() string` diff --git a/release/docs/ContainerContainerPushRepository.md b/release/docs/ContainerContainerPushRepository.md index d77313c7..714be8ef 100644 --- a/release/docs/ContainerContainerPushRepository.md +++ b/release/docs/ContainerContainerPushRepository.md @@ -4,11 +4,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ManifestSigningService** | Pointer to **NullableString** | A reference to an associated signing service. | [optional] **PulpLabels** | Pointer to **map[string]string** | | [optional] -**Description** | Pointer to **NullableString** | An optional description. | [optional] +**ManifestSigningService** | Pointer to **NullableString** | A reference to an associated signing service. | [optional] **RetainRepoVersions** | Pointer to **NullableInt64** | Retain X versions of the repository. Default is null which retains all versions. | [optional] **Name** | **string** | A unique name for this repository. | +**Description** | Pointer to **NullableString** | An optional description. | [optional] ## Methods @@ -29,41 +29,6 @@ NewContainerContainerPushRepositoryWithDefaults instantiates a new ContainerCont This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetManifestSigningService - -`func (o *ContainerContainerPushRepository) GetManifestSigningService() string` - -GetManifestSigningService returns the ManifestSigningService field if non-nil, zero value otherwise. - -### GetManifestSigningServiceOk - -`func (o *ContainerContainerPushRepository) GetManifestSigningServiceOk() (*string, bool)` - -GetManifestSigningServiceOk returns a tuple with the ManifestSigningService field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetManifestSigningService - -`func (o *ContainerContainerPushRepository) SetManifestSigningService(v string)` - -SetManifestSigningService sets ManifestSigningService field to given value. - -### HasManifestSigningService - -`func (o *ContainerContainerPushRepository) HasManifestSigningService() bool` - -HasManifestSigningService returns a boolean if a field has been set. - -### SetManifestSigningServiceNil - -`func (o *ContainerContainerPushRepository) SetManifestSigningServiceNil(b bool)` - - SetManifestSigningServiceNil sets the value for ManifestSigningService to be an explicit nil - -### UnsetManifestSigningService -`func (o *ContainerContainerPushRepository) UnsetManifestSigningService()` - -UnsetManifestSigningService ensures that no value is present for ManifestSigningService, not even an explicit nil ### GetPulpLabels `func (o *ContainerContainerPushRepository) GetPulpLabels() map[string]string` @@ -89,41 +54,41 @@ SetPulpLabels sets PulpLabels field to given value. HasPulpLabels returns a boolean if a field has been set. -### GetDescription +### GetManifestSigningService -`func (o *ContainerContainerPushRepository) GetDescription() string` +`func (o *ContainerContainerPushRepository) GetManifestSigningService() string` -GetDescription returns the Description field if non-nil, zero value otherwise. +GetManifestSigningService returns the ManifestSigningService field if non-nil, zero value otherwise. -### GetDescriptionOk +### GetManifestSigningServiceOk -`func (o *ContainerContainerPushRepository) GetDescriptionOk() (*string, bool)` +`func (o *ContainerContainerPushRepository) GetManifestSigningServiceOk() (*string, bool)` -GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +GetManifestSigningServiceOk returns a tuple with the ManifestSigningService field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetDescription +### SetManifestSigningService -`func (o *ContainerContainerPushRepository) SetDescription(v string)` +`func (o *ContainerContainerPushRepository) SetManifestSigningService(v string)` -SetDescription sets Description field to given value. +SetManifestSigningService sets ManifestSigningService field to given value. -### HasDescription +### HasManifestSigningService -`func (o *ContainerContainerPushRepository) HasDescription() bool` +`func (o *ContainerContainerPushRepository) HasManifestSigningService() bool` -HasDescription returns a boolean if a field has been set. +HasManifestSigningService returns a boolean if a field has been set. -### SetDescriptionNil +### SetManifestSigningServiceNil -`func (o *ContainerContainerPushRepository) SetDescriptionNil(b bool)` +`func (o *ContainerContainerPushRepository) SetManifestSigningServiceNil(b bool)` - SetDescriptionNil sets the value for Description to be an explicit nil + SetManifestSigningServiceNil sets the value for ManifestSigningService to be an explicit nil -### UnsetDescription -`func (o *ContainerContainerPushRepository) UnsetDescription()` +### UnsetManifestSigningService +`func (o *ContainerContainerPushRepository) UnsetManifestSigningService()` -UnsetDescription ensures that no value is present for Description, not even an explicit nil +UnsetManifestSigningService ensures that no value is present for ManifestSigningService, not even an explicit nil ### GetRetainRepoVersions `func (o *ContainerContainerPushRepository) GetRetainRepoVersions() int64` @@ -179,6 +144,41 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetDescription + +`func (o *ContainerContainerPushRepository) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *ContainerContainerPushRepository) GetDescriptionOk() (*string, bool)` + +GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescription + +`func (o *ContainerContainerPushRepository) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *ContainerContainerPushRepository) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### SetDescriptionNil + +`func (o *ContainerContainerPushRepository) SetDescriptionNil(b bool)` + + SetDescriptionNil sets the value for Description to be an explicit nil + +### UnsetDescription +`func (o *ContainerContainerPushRepository) UnsetDescription()` + +UnsetDescription ensures that no value is present for Description, not even an explicit nil [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/release/docs/ContainerContainerPushRepositoryResponse.md b/release/docs/ContainerContainerPushRepositoryResponse.md index 3876751f..9cd66a41 100644 --- a/release/docs/ContainerContainerPushRepositoryResponse.md +++ b/release/docs/ContainerContainerPushRepositoryResponse.md @@ -4,15 +4,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**PulpCreated** | Pointer to **time.Time** | Timestamp of creation. | [optional] [readonly] -**ManifestSigningService** | Pointer to **NullableString** | A reference to an associated signing service. | [optional] **PulpLabels** | Pointer to **map[string]string** | | [optional] -**Description** | Pointer to **NullableString** | An optional description. | [optional] -**LatestVersionHref** | Pointer to **string** | | [optional] [readonly] -**PulpHref** | Pointer to **string** | | [optional] [readonly] +**ManifestSigningService** | Pointer to **NullableString** | A reference to an associated signing service. | [optional] **RetainRepoVersions** | Pointer to **NullableInt64** | Retain X versions of the repository. Default is null which retains all versions. | [optional] +**PulpHref** | Pointer to **string** | | [optional] [readonly] +**PulpCreated** | Pointer to **time.Time** | Timestamp of creation. | [optional] [readonly] **Name** | **string** | A unique name for this repository. | **VersionsHref** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **NullableString** | An optional description. | [optional] +**LatestVersionHref** | Pointer to **string** | | [optional] [readonly] ## Methods @@ -33,30 +33,30 @@ NewContainerContainerPushRepositoryResponseWithDefaults instantiates a new Conta This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetPulpCreated +### GetPulpLabels -`func (o *ContainerContainerPushRepositoryResponse) GetPulpCreated() time.Time` +`func (o *ContainerContainerPushRepositoryResponse) GetPulpLabels() map[string]string` -GetPulpCreated returns the PulpCreated field if non-nil, zero value otherwise. +GetPulpLabels returns the PulpLabels field if non-nil, zero value otherwise. -### GetPulpCreatedOk +### GetPulpLabelsOk -`func (o *ContainerContainerPushRepositoryResponse) GetPulpCreatedOk() (*time.Time, bool)` +`func (o *ContainerContainerPushRepositoryResponse) GetPulpLabelsOk() (*map[string]string, bool)` -GetPulpCreatedOk returns a tuple with the PulpCreated field if it's non-nil, zero value otherwise +GetPulpLabelsOk returns a tuple with the PulpLabels field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetPulpCreated +### SetPulpLabels -`func (o *ContainerContainerPushRepositoryResponse) SetPulpCreated(v time.Time)` +`func (o *ContainerContainerPushRepositoryResponse) SetPulpLabels(v map[string]string)` -SetPulpCreated sets PulpCreated field to given value. +SetPulpLabels sets PulpLabels field to given value. -### HasPulpCreated +### HasPulpLabels -`func (o *ContainerContainerPushRepositoryResponse) HasPulpCreated() bool` +`func (o *ContainerContainerPushRepositoryResponse) HasPulpLabels() bool` -HasPulpCreated returns a boolean if a field has been set. +HasPulpLabels returns a boolean if a field has been set. ### GetManifestSigningService @@ -93,91 +93,41 @@ HasManifestSigningService returns a boolean if a field has been set. `func (o *ContainerContainerPushRepositoryResponse) UnsetManifestSigningService()` UnsetManifestSigningService ensures that no value is present for ManifestSigningService, not even an explicit nil -### GetPulpLabels - -`func (o *ContainerContainerPushRepositoryResponse) GetPulpLabels() map[string]string` - -GetPulpLabels returns the PulpLabels field if non-nil, zero value otherwise. - -### GetPulpLabelsOk - -`func (o *ContainerContainerPushRepositoryResponse) GetPulpLabelsOk() (*map[string]string, bool)` - -GetPulpLabelsOk returns a tuple with the PulpLabels field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPulpLabels - -`func (o *ContainerContainerPushRepositoryResponse) SetPulpLabels(v map[string]string)` - -SetPulpLabels sets PulpLabels field to given value. - -### HasPulpLabels - -`func (o *ContainerContainerPushRepositoryResponse) HasPulpLabels() bool` - -HasPulpLabels returns a boolean if a field has been set. - -### GetDescription +### GetRetainRepoVersions -`func (o *ContainerContainerPushRepositoryResponse) GetDescription() string` +`func (o *ContainerContainerPushRepositoryResponse) GetRetainRepoVersions() int64` -GetDescription returns the Description field if non-nil, zero value otherwise. +GetRetainRepoVersions returns the RetainRepoVersions field if non-nil, zero value otherwise. -### GetDescriptionOk +### GetRetainRepoVersionsOk -`func (o *ContainerContainerPushRepositoryResponse) GetDescriptionOk() (*string, bool)` +`func (o *ContainerContainerPushRepositoryResponse) GetRetainRepoVersionsOk() (*int64, bool)` -GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +GetRetainRepoVersionsOk returns a tuple with the RetainRepoVersions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetDescription - -`func (o *ContainerContainerPushRepositoryResponse) SetDescription(v string)` - -SetDescription sets Description field to given value. - -### HasDescription - -`func (o *ContainerContainerPushRepositoryResponse) HasDescription() bool` - -HasDescription returns a boolean if a field has been set. - -### SetDescriptionNil - -`func (o *ContainerContainerPushRepositoryResponse) SetDescriptionNil(b bool)` - - SetDescriptionNil sets the value for Description to be an explicit nil - -### UnsetDescription -`func (o *ContainerContainerPushRepositoryResponse) UnsetDescription()` - -UnsetDescription ensures that no value is present for Description, not even an explicit nil -### GetLatestVersionHref - -`func (o *ContainerContainerPushRepositoryResponse) GetLatestVersionHref() string` - -GetLatestVersionHref returns the LatestVersionHref field if non-nil, zero value otherwise. +### SetRetainRepoVersions -### GetLatestVersionHrefOk +`func (o *ContainerContainerPushRepositoryResponse) SetRetainRepoVersions(v int64)` -`func (o *ContainerContainerPushRepositoryResponse) GetLatestVersionHrefOk() (*string, bool)` +SetRetainRepoVersions sets RetainRepoVersions field to given value. -GetLatestVersionHrefOk returns a tuple with the LatestVersionHref field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. +### HasRetainRepoVersions -### SetLatestVersionHref +`func (o *ContainerContainerPushRepositoryResponse) HasRetainRepoVersions() bool` -`func (o *ContainerContainerPushRepositoryResponse) SetLatestVersionHref(v string)` +HasRetainRepoVersions returns a boolean if a field has been set. -SetLatestVersionHref sets LatestVersionHref field to given value. +### SetRetainRepoVersionsNil -### HasLatestVersionHref +`func (o *ContainerContainerPushRepositoryResponse) SetRetainRepoVersionsNil(b bool)` -`func (o *ContainerContainerPushRepositoryResponse) HasLatestVersionHref() bool` + SetRetainRepoVersionsNil sets the value for RetainRepoVersions to be an explicit nil -HasLatestVersionHref returns a boolean if a field has been set. +### UnsetRetainRepoVersions +`func (o *ContainerContainerPushRepositoryResponse) UnsetRetainRepoVersions()` +UnsetRetainRepoVersions ensures that no value is present for RetainRepoVersions, not even an explicit nil ### GetPulpHref `func (o *ContainerContainerPushRepositoryResponse) GetPulpHref() string` @@ -203,41 +153,31 @@ SetPulpHref sets PulpHref field to given value. HasPulpHref returns a boolean if a field has been set. -### GetRetainRepoVersions +### GetPulpCreated -`func (o *ContainerContainerPushRepositoryResponse) GetRetainRepoVersions() int64` +`func (o *ContainerContainerPushRepositoryResponse) GetPulpCreated() time.Time` -GetRetainRepoVersions returns the RetainRepoVersions field if non-nil, zero value otherwise. +GetPulpCreated returns the PulpCreated field if non-nil, zero value otherwise. -### GetRetainRepoVersionsOk +### GetPulpCreatedOk -`func (o *ContainerContainerPushRepositoryResponse) GetRetainRepoVersionsOk() (*int64, bool)` +`func (o *ContainerContainerPushRepositoryResponse) GetPulpCreatedOk() (*time.Time, bool)` -GetRetainRepoVersionsOk returns a tuple with the RetainRepoVersions field if it's non-nil, zero value otherwise +GetPulpCreatedOk returns a tuple with the PulpCreated field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetRetainRepoVersions - -`func (o *ContainerContainerPushRepositoryResponse) SetRetainRepoVersions(v int64)` - -SetRetainRepoVersions sets RetainRepoVersions field to given value. - -### HasRetainRepoVersions - -`func (o *ContainerContainerPushRepositoryResponse) HasRetainRepoVersions() bool` +### SetPulpCreated -HasRetainRepoVersions returns a boolean if a field has been set. +`func (o *ContainerContainerPushRepositoryResponse) SetPulpCreated(v time.Time)` -### SetRetainRepoVersionsNil +SetPulpCreated sets PulpCreated field to given value. -`func (o *ContainerContainerPushRepositoryResponse) SetRetainRepoVersionsNil(b bool)` +### HasPulpCreated - SetRetainRepoVersionsNil sets the value for RetainRepoVersions to be an explicit nil +`func (o *ContainerContainerPushRepositoryResponse) HasPulpCreated() bool` -### UnsetRetainRepoVersions -`func (o *ContainerContainerPushRepositoryResponse) UnsetRetainRepoVersions()` +HasPulpCreated returns a boolean if a field has been set. -UnsetRetainRepoVersions ensures that no value is present for RetainRepoVersions, not even an explicit nil ### GetName `func (o *ContainerContainerPushRepositoryResponse) GetName() string` @@ -283,6 +223,66 @@ SetVersionsHref sets VersionsHref field to given value. HasVersionsHref returns a boolean if a field has been set. +### GetDescription + +`func (o *ContainerContainerPushRepositoryResponse) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *ContainerContainerPushRepositoryResponse) GetDescriptionOk() (*string, bool)` + +GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescription + +`func (o *ContainerContainerPushRepositoryResponse) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *ContainerContainerPushRepositoryResponse) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### SetDescriptionNil + +`func (o *ContainerContainerPushRepositoryResponse) SetDescriptionNil(b bool)` + + SetDescriptionNil sets the value for Description to be an explicit nil + +### UnsetDescription +`func (o *ContainerContainerPushRepositoryResponse) UnsetDescription()` + +UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetLatestVersionHref + +`func (o *ContainerContainerPushRepositoryResponse) GetLatestVersionHref() string` + +GetLatestVersionHref returns the LatestVersionHref field if non-nil, zero value otherwise. + +### GetLatestVersionHrefOk + +`func (o *ContainerContainerPushRepositoryResponse) GetLatestVersionHrefOk() (*string, bool)` + +GetLatestVersionHrefOk returns a tuple with the LatestVersionHref field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLatestVersionHref + +`func (o *ContainerContainerPushRepositoryResponse) SetLatestVersionHref(v string)` + +SetLatestVersionHref sets LatestVersionHref field to given value. + +### HasLatestVersionHref + +`func (o *ContainerContainerPushRepositoryResponse) HasLatestVersionHref() bool` + +HasLatestVersionHref returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/release/docs/ContentCollectionVersionsAPI.md b/release/docs/ContentCollectionVersionsAPI.md index 602e7749..960d7748 100644 --- a/release/docs/ContentCollectionVersionsAPI.md +++ b/release/docs/ContentCollectionVersionsAPI.md @@ -12,7 +12,7 @@ Method | HTTP request | Description ## ContentAnsibleCollectionVersionsCreate -> AsyncOperationResponse ContentAnsibleCollectionVersionsCreate(ctx).Artifact(artifact).File(file).Repository(repository).Upload(upload).ExpectedName(expectedName).ExpectedNamespace(expectedNamespace).ExpectedVersion(expectedVersion).Execute() +> AsyncOperationResponse ContentAnsibleCollectionVersionsCreate(ctx).Repository(repository).File(file).Artifact(artifact).Upload(upload).ExpectedName(expectedName).ExpectedNamespace(expectedNamespace).ExpectedVersion(expectedVersion).Execute() Create a collection version @@ -31,9 +31,9 @@ import ( ) func main() { - artifact := "artifact_example" // string | Artifact file representing the physical content (optional) - file := os.NewFile(1234, "some_file") // *os.File | An uploaded file that may be turned into the artifact of the content unit. (optional) repository := "repository_example" // string | A URI of a repository the new content unit should be associated with. (optional) + file := os.NewFile(1234, "some_file") // *os.File | An uploaded file that may be turned into the artifact of the content unit. (optional) + artifact := "artifact_example" // string | Artifact file representing the physical content (optional) upload := "upload_example" // string | An uncommitted upload that may be turned into the artifact of the content unit. (optional) expectedName := "expectedName_example" // string | The name of the collection. (optional) expectedNamespace := "expectedNamespace_example" // string | The namespace of the collection. (optional) @@ -41,7 +41,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ContentCollectionVersionsAPI.ContentAnsibleCollectionVersionsCreate(context.Background()).Artifact(artifact).File(file).Repository(repository).Upload(upload).ExpectedName(expectedName).ExpectedNamespace(expectedNamespace).ExpectedVersion(expectedVersion).Execute() + resp, r, err := apiClient.ContentCollectionVersionsAPI.ContentAnsibleCollectionVersionsCreate(context.Background()).Repository(repository).File(file).Artifact(artifact).Upload(upload).ExpectedName(expectedName).ExpectedNamespace(expectedNamespace).ExpectedVersion(expectedVersion).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ContentCollectionVersionsAPI.ContentAnsibleCollectionVersionsCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -62,9 +62,9 @@ Other parameters are passed through a pointer to a apiContentAnsibleCollectionVe Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **artifact** | **string** | Artifact file representing the physical content | - **file** | ***os.File** | An uploaded file that may be turned into the artifact of the content unit. | **repository** | **string** | A URI of a repository the new content unit should be associated with. | + **file** | ***os.File** | An uploaded file that may be turned into the artifact of the content unit. | + **artifact** | **string** | Artifact file representing the physical content | **upload** | **string** | An uncommitted upload that may be turned into the artifact of the content unit. | **expectedName** | **string** | The name of the collection. | **expectedNamespace** | **string** | The namespace of the collection. | diff --git a/release/docs/DebAptDistribution.md b/release/docs/DebAptDistribution.md index d562017f..7cf4ad4c 100644 --- a/release/docs/DebAptDistribution.md +++ b/release/docs/DebAptDistribution.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **BasePath** | **string** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | **ContentGuard** | Pointer to **NullableString** | An optional content-guard. | [optional] +**Hidden** | Pointer to **bool** | Whether this distribution should be shown in the content app. | [optional] [default to false] **PulpLabels** | Pointer to **map[string]string** | | [optional] **Name** | **string** | A unique name. Ex, `rawhide` and `stable`. | **Repository** | Pointer to **NullableString** | The latest RepositoryVersion for this Repository will be served. | [optional] @@ -85,6 +86,31 @@ HasContentGuard returns a boolean if a field has been set. `func (o *DebAptDistribution) UnsetContentGuard()` UnsetContentGuard ensures that no value is present for ContentGuard, not even an explicit nil +### GetHidden + +`func (o *DebAptDistribution) GetHidden() bool` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *DebAptDistribution) GetHiddenOk() (*bool, bool)` + +GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHidden + +`func (o *DebAptDistribution) SetHidden(v bool)` + +SetHidden sets Hidden field to given value. + +### HasHidden + +`func (o *DebAptDistribution) HasHidden() bool` + +HasHidden returns a boolean if a field has been set. + ### GetPulpLabels `func (o *DebAptDistribution) GetPulpLabels() map[string]string` diff --git a/release/docs/DebAptDistributionResponse.md b/release/docs/DebAptDistributionResponse.md index 90d82e84..50c17703 100644 --- a/release/docs/DebAptDistributionResponse.md +++ b/release/docs/DebAptDistributionResponse.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **BasePath** | **string** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | **BaseUrl** | Pointer to **string** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly] **ContentGuard** | Pointer to **NullableString** | An optional content-guard. | [optional] +**Hidden** | Pointer to **bool** | Whether this distribution should be shown in the content app. | [optional] [default to false] **PulpLabels** | Pointer to **map[string]string** | | [optional] **Name** | **string** | A unique name. Ex, `rawhide` and `stable`. | **Repository** | Pointer to **NullableString** | The latest RepositoryVersion for this Repository will be served. | [optional] @@ -163,6 +164,31 @@ HasContentGuard returns a boolean if a field has been set. `func (o *DebAptDistributionResponse) UnsetContentGuard()` UnsetContentGuard ensures that no value is present for ContentGuard, not even an explicit nil +### GetHidden + +`func (o *DebAptDistributionResponse) GetHidden() bool` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *DebAptDistributionResponse) GetHiddenOk() (*bool, bool)` + +GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHidden + +`func (o *DebAptDistributionResponse) SetHidden(v bool)` + +SetHidden sets Hidden field to given value. + +### HasHidden + +`func (o *DebAptDistributionResponse) HasHidden() bool` + +HasHidden returns a boolean if a field has been set. + ### GetPulpLabels `func (o *DebAptDistributionResponse) GetPulpLabels() map[string]string` diff --git a/release/docs/DistributionResponse.md b/release/docs/DistributionResponse.md index ca443955..2dc4dd99 100644 --- a/release/docs/DistributionResponse.md +++ b/release/docs/DistributionResponse.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **BasePath** | **string** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | **BaseUrl** | Pointer to **string** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly] **ContentGuard** | Pointer to **NullableString** | An optional content-guard. | [optional] +**Hidden** | Pointer to **bool** | Whether this distribution should be shown in the content app. | [optional] [default to false] **PulpLabels** | Pointer to **map[string]string** | | [optional] **Name** | **string** | A unique name. Ex, `rawhide` and `stable`. | **Repository** | Pointer to **NullableString** | The latest RepositoryVersion for this Repository will be served. | [optional] @@ -162,6 +163,31 @@ HasContentGuard returns a boolean if a field has been set. `func (o *DistributionResponse) UnsetContentGuard()` UnsetContentGuard ensures that no value is present for ContentGuard, not even an explicit nil +### GetHidden + +`func (o *DistributionResponse) GetHidden() bool` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *DistributionResponse) GetHiddenOk() (*bool, bool)` + +GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHidden + +`func (o *DistributionResponse) SetHidden(v bool)` + +SetHidden sets Hidden field to given value. + +### HasHidden + +`func (o *DistributionResponse) HasHidden() bool` + +HasHidden returns a boolean if a field has been set. + ### GetPulpLabels `func (o *DistributionResponse) GetPulpLabels() map[string]string` diff --git a/release/docs/DistributionsAPI.md b/release/docs/DistributionsAPI.md index 02fb913b..724c5db2 100644 --- a/release/docs/DistributionsAPI.md +++ b/release/docs/DistributionsAPI.md @@ -40,7 +40,7 @@ func main() { nameIn := []string{"Inner_example"} // []string | Filter results where name is in a comma-separated list of values (optional) nameStartswith := "nameStartswith_example" // string | Filter results where name starts with value (optional) offset := int32(56) // int32 | The initial index from which to return the results. (optional) - ordering := []string{"Ordering_example"} // []string | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional) + ordering := []string{"Ordering_example"} // []string | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional) pulpHrefIn := []string{"Inner_example"} // []string | Multiple values may be separated by commas. (optional) pulpIdIn := []string{"Inner_example"} // []string | Multiple values may be separated by commas. (optional) pulpLabelSelect := "pulpLabelSelect_example" // string | Filter labels by search string (optional) @@ -85,7 +85,7 @@ Name | Type | Description | Notes **nameIn** | **[]string** | Filter results where name is in a comma-separated list of values | **nameStartswith** | **string** | Filter results where name starts with value | **offset** | **int32** | The initial index from which to return the results. | - **ordering** | **[]string** | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) | + **ordering** | **[]string** | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | **pulpHrefIn** | **[]string** | Multiple values may be separated by commas. | **pulpIdIn** | **[]string** | Multiple values may be separated by commas. | **pulpLabelSelect** | **string** | Filter labels by search string | diff --git a/release/docs/DistributionsAnsibleAPI.md b/release/docs/DistributionsAnsibleAPI.md index d1fcd6d9..7cd43382 100644 --- a/release/docs/DistributionsAnsibleAPI.md +++ b/release/docs/DistributionsAnsibleAPI.md @@ -257,7 +257,7 @@ func main() { nameIn := []string{"Inner_example"} // []string | Filter results where name is in a comma-separated list of values (optional) nameStartswith := "nameStartswith_example" // string | Filter results where name starts with value (optional) offset := int32(56) // int32 | The initial index from which to return the results. (optional) - ordering := []string{"Ordering_example"} // []string | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional) + ordering := []string{"Ordering_example"} // []string | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional) pulpHrefIn := []string{"Inner_example"} // []string | Multiple values may be separated by commas. (optional) pulpIdIn := []string{"Inner_example"} // []string | Multiple values may be separated by commas. (optional) pulpLabelSelect := "pulpLabelSelect_example" // string | Filter labels by search string (optional) @@ -301,7 +301,7 @@ Name | Type | Description | Notes **nameIn** | **[]string** | Filter results where name is in a comma-separated list of values | **nameStartswith** | **string** | Filter results where name starts with value | **offset** | **int32** | The initial index from which to return the results. | - **ordering** | **[]string** | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) | + **ordering** | **[]string** | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | **pulpHrefIn** | **[]string** | Multiple values may be separated by commas. | **pulpIdIn** | **[]string** | Multiple values may be separated by commas. | **pulpLabelSelect** | **string** | Filter labels by search string | diff --git a/release/docs/DistributionsAptAPI.md b/release/docs/DistributionsAptAPI.md index 5e152c07..fc87232a 100644 --- a/release/docs/DistributionsAptAPI.md +++ b/release/docs/DistributionsAptAPI.md @@ -181,7 +181,7 @@ func main() { nameIn := []string{"Inner_example"} // []string | Filter results where name is in a comma-separated list of values (optional) nameStartswith := "nameStartswith_example" // string | Filter results where name starts with value (optional) offset := int32(56) // int32 | The initial index from which to return the results. (optional) - ordering := []string{"Ordering_example"} // []string | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional) + ordering := []string{"Ordering_example"} // []string | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional) pulpHrefIn := []string{"Inner_example"} // []string | Multiple values may be separated by commas. (optional) pulpIdIn := []string{"Inner_example"} // []string | Multiple values may be separated by commas. (optional) pulpLabelSelect := "pulpLabelSelect_example" // string | Filter labels by search string (optional) @@ -225,7 +225,7 @@ Name | Type | Description | Notes **nameIn** | **[]string** | Filter results where name is in a comma-separated list of values | **nameStartswith** | **string** | Filter results where name starts with value | **offset** | **int32** | The initial index from which to return the results. | - **ordering** | **[]string** | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) | + **ordering** | **[]string** | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | **pulpHrefIn** | **[]string** | Multiple values may be separated by commas. | **pulpIdIn** | **[]string** | Multiple values may be separated by commas. | **pulpLabelSelect** | **string** | Filter labels by search string | diff --git a/release/docs/DistributionsArtifactsAPI.md b/release/docs/DistributionsArtifactsAPI.md index 6a3e3702..f9f28ca9 100644 --- a/release/docs/DistributionsArtifactsAPI.md +++ b/release/docs/DistributionsArtifactsAPI.md @@ -41,7 +41,7 @@ func main() { nameIn := []string{"Inner_example"} // []string | Filter results where name is in a comma-separated list of values (optional) nameStartswith := "nameStartswith_example" // string | Filter results where name starts with value (optional) offset := int32(56) // int32 | The initial index from which to return the results. (optional) - ordering := []string{"Ordering_example"} // []string | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional) + ordering := []string{"Ordering_example"} // []string | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional) pulpHrefIn := []string{"Inner_example"} // []string | Multiple values may be separated by commas. (optional) pulpIdIn := []string{"Inner_example"} // []string | Multiple values may be separated by commas. (optional) pulpLabelSelect := "pulpLabelSelect_example" // string | Filter labels by search string (optional) @@ -85,7 +85,7 @@ Name | Type | Description | Notes **nameIn** | **[]string** | Filter results where name is in a comma-separated list of values | **nameStartswith** | **string** | Filter results where name starts with value | **offset** | **int32** | The initial index from which to return the results. | - **ordering** | **[]string** | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) | + **ordering** | **[]string** | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | **pulpHrefIn** | **[]string** | Multiple values may be separated by commas. | **pulpIdIn** | **[]string** | Multiple values may be separated by commas. | **pulpLabelSelect** | **string** | Filter labels by search string | diff --git a/release/docs/DistributionsContainerAPI.md b/release/docs/DistributionsContainerAPI.md index 779fc322..ad972d00 100644 --- a/release/docs/DistributionsContainerAPI.md +++ b/release/docs/DistributionsContainerAPI.md @@ -258,7 +258,7 @@ func main() { nameStartswith := "nameStartswith_example" // string | Filter results where name starts with value (optional) namespaceName := "namespaceName_example" // string | (optional) offset := int32(56) // int32 | The initial index from which to return the results. (optional) - ordering := []string{"Ordering_example"} // []string | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `private` - Private * `-private` - Private (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional) + ordering := []string{"Ordering_example"} // []string | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `private` - Private * `-private` - Private (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional) pulpHrefIn := []string{"Inner_example"} // []string | Multiple values may be separated by commas. (optional) pulpIdIn := []string{"Inner_example"} // []string | Multiple values may be separated by commas. (optional) pulpLabelSelect := "pulpLabelSelect_example" // string | Filter labels by search string (optional) @@ -303,7 +303,7 @@ Name | Type | Description | Notes **nameStartswith** | **string** | Filter results where name starts with value | **namespaceName** | **string** | | **offset** | **int32** | The initial index from which to return the results. | - **ordering** | **[]string** | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `private` - Private * `-private` - Private (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending) | + **ordering** | **[]string** | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `private` - Private * `-private` - Private (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending) | **pulpHrefIn** | **[]string** | Multiple values may be separated by commas. | **pulpIdIn** | **[]string** | Multiple values may be separated by commas. | **pulpLabelSelect** | **string** | Filter labels by search string | diff --git a/release/docs/DistributionsFileAPI.md b/release/docs/DistributionsFileAPI.md index 4b874588..16792b20 100644 --- a/release/docs/DistributionsFileAPI.md +++ b/release/docs/DistributionsFileAPI.md @@ -257,7 +257,7 @@ func main() { nameIn := []string{"Inner_example"} // []string | Filter results where name is in a comma-separated list of values (optional) nameStartswith := "nameStartswith_example" // string | Filter results where name starts with value (optional) offset := int32(56) // int32 | The initial index from which to return the results. (optional) - ordering := []string{"Ordering_example"} // []string | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional) + ordering := []string{"Ordering_example"} // []string | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional) pulpHrefIn := []string{"Inner_example"} // []string | Multiple values may be separated by commas. (optional) pulpIdIn := []string{"Inner_example"} // []string | Multiple values may be separated by commas. (optional) pulpLabelSelect := "pulpLabelSelect_example" // string | Filter labels by search string (optional) @@ -301,7 +301,7 @@ Name | Type | Description | Notes **nameIn** | **[]string** | Filter results where name is in a comma-separated list of values | **nameStartswith** | **string** | Filter results where name starts with value | **offset** | **int32** | The initial index from which to return the results. | - **ordering** | **[]string** | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) | + **ordering** | **[]string** | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | **pulpHrefIn** | **[]string** | Multiple values may be separated by commas. | **pulpIdIn** | **[]string** | Multiple values may be separated by commas. | **pulpLabelSelect** | **string** | Filter labels by search string | diff --git a/release/docs/DistributionsMavenAPI.md b/release/docs/DistributionsMavenAPI.md index b831ad92..1882e39b 100644 --- a/release/docs/DistributionsMavenAPI.md +++ b/release/docs/DistributionsMavenAPI.md @@ -181,7 +181,7 @@ func main() { nameIn := []string{"Inner_example"} // []string | Filter results where name is in a comma-separated list of values (optional) nameStartswith := "nameStartswith_example" // string | Filter results where name starts with value (optional) offset := int32(56) // int32 | The initial index from which to return the results. (optional) - ordering := []string{"Ordering_example"} // []string | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional) + ordering := []string{"Ordering_example"} // []string | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional) pulpHrefIn := []string{"Inner_example"} // []string | Multiple values may be separated by commas. (optional) pulpIdIn := []string{"Inner_example"} // []string | Multiple values may be separated by commas. (optional) pulpLabelSelect := "pulpLabelSelect_example" // string | Filter labels by search string (optional) @@ -225,7 +225,7 @@ Name | Type | Description | Notes **nameIn** | **[]string** | Filter results where name is in a comma-separated list of values | **nameStartswith** | **string** | Filter results where name starts with value | **offset** | **int32** | The initial index from which to return the results. | - **ordering** | **[]string** | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) | + **ordering** | **[]string** | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | **pulpHrefIn** | **[]string** | Multiple values may be separated by commas. | **pulpIdIn** | **[]string** | Multiple values may be separated by commas. | **pulpLabelSelect** | **string** | Filter labels by search string | diff --git a/release/docs/DistributionsOstreeAPI.md b/release/docs/DistributionsOstreeAPI.md index 7d97ba77..7aa8186b 100644 --- a/release/docs/DistributionsOstreeAPI.md +++ b/release/docs/DistributionsOstreeAPI.md @@ -181,7 +181,7 @@ func main() { nameIn := []string{"Inner_example"} // []string | Filter results where name is in a comma-separated list of values (optional) nameStartswith := "nameStartswith_example" // string | Filter results where name starts with value (optional) offset := int32(56) // int32 | The initial index from which to return the results. (optional) - ordering := []string{"Ordering_example"} // []string | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional) + ordering := []string{"Ordering_example"} // []string | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional) pulpHrefIn := []string{"Inner_example"} // []string | Multiple values may be separated by commas. (optional) pulpIdIn := []string{"Inner_example"} // []string | Multiple values may be separated by commas. (optional) pulpLabelSelect := "pulpLabelSelect_example" // string | Filter labels by search string (optional) @@ -225,7 +225,7 @@ Name | Type | Description | Notes **nameIn** | **[]string** | Filter results where name is in a comma-separated list of values | **nameStartswith** | **string** | Filter results where name starts with value | **offset** | **int32** | The initial index from which to return the results. | - **ordering** | **[]string** | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) | + **ordering** | **[]string** | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | **pulpHrefIn** | **[]string** | Multiple values may be separated by commas. | **pulpIdIn** | **[]string** | Multiple values may be separated by commas. | **pulpLabelSelect** | **string** | Filter labels by search string | diff --git a/release/docs/DistributionsPypiAPI.md b/release/docs/DistributionsPypiAPI.md index bbd7e305..4d9c9627 100644 --- a/release/docs/DistributionsPypiAPI.md +++ b/release/docs/DistributionsPypiAPI.md @@ -181,7 +181,7 @@ func main() { nameIn := []string{"Inner_example"} // []string | Filter results where name is in a comma-separated list of values (optional) nameStartswith := "nameStartswith_example" // string | Filter results where name starts with value (optional) offset := int32(56) // int32 | The initial index from which to return the results. (optional) - ordering := []string{"Ordering_example"} // []string | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional) + ordering := []string{"Ordering_example"} // []string | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional) pulpHrefIn := []string{"Inner_example"} // []string | Multiple values may be separated by commas. (optional) pulpIdIn := []string{"Inner_example"} // []string | Multiple values may be separated by commas. (optional) pulpLabelSelect := "pulpLabelSelect_example" // string | Filter labels by search string (optional) @@ -225,7 +225,7 @@ Name | Type | Description | Notes **nameIn** | **[]string** | Filter results where name is in a comma-separated list of values | **nameStartswith** | **string** | Filter results where name starts with value | **offset** | **int32** | The initial index from which to return the results. | - **ordering** | **[]string** | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) | + **ordering** | **[]string** | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | **pulpHrefIn** | **[]string** | Multiple values may be separated by commas. | **pulpIdIn** | **[]string** | Multiple values may be separated by commas. | **pulpLabelSelect** | **string** | Filter labels by search string | diff --git a/release/docs/DistributionsRpmAPI.md b/release/docs/DistributionsRpmAPI.md index 67f1d104..a842278a 100644 --- a/release/docs/DistributionsRpmAPI.md +++ b/release/docs/DistributionsRpmAPI.md @@ -257,7 +257,7 @@ func main() { nameIn := []string{"Inner_example"} // []string | Filter results where name is in a comma-separated list of values (optional) nameStartswith := "nameStartswith_example" // string | Filter results where name starts with value (optional) offset := int32(56) // int32 | The initial index from which to return the results. (optional) - ordering := []string{"Ordering_example"} // []string | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional) + ordering := []string{"Ordering_example"} // []string | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional) pulpHrefIn := []string{"Inner_example"} // []string | Multiple values may be separated by commas. (optional) pulpIdIn := []string{"Inner_example"} // []string | Multiple values may be separated by commas. (optional) pulpLabelSelect := "pulpLabelSelect_example" // string | Filter labels by search string (optional) @@ -301,7 +301,7 @@ Name | Type | Description | Notes **nameIn** | **[]string** | Filter results where name is in a comma-separated list of values | **nameStartswith** | **string** | Filter results where name starts with value | **offset** | **int32** | The initial index from which to return the results. | - **ordering** | **[]string** | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) | + **ordering** | **[]string** | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | **pulpHrefIn** | **[]string** | Multiple values may be separated by commas. | **pulpIdIn** | **[]string** | Multiple values may be separated by commas. | **pulpLabelSelect** | **string** | Filter labels by search string | diff --git a/release/docs/FileFileDistribution.md b/release/docs/FileFileDistribution.md index 234bb85e..7061aa28 100644 --- a/release/docs/FileFileDistribution.md +++ b/release/docs/FileFileDistribution.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **BasePath** | **string** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | **ContentGuard** | Pointer to **NullableString** | An optional content-guard. | [optional] +**Hidden** | Pointer to **bool** | Whether this distribution should be shown in the content app. | [optional] [default to false] **PulpLabels** | Pointer to **map[string]string** | | [optional] **Name** | **string** | A unique name. Ex, `rawhide` and `stable`. | **Repository** | Pointer to **NullableString** | The latest RepositoryVersion for this Repository will be served. | [optional] @@ -85,6 +86,31 @@ HasContentGuard returns a boolean if a field has been set. `func (o *FileFileDistribution) UnsetContentGuard()` UnsetContentGuard ensures that no value is present for ContentGuard, not even an explicit nil +### GetHidden + +`func (o *FileFileDistribution) GetHidden() bool` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *FileFileDistribution) GetHiddenOk() (*bool, bool)` + +GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHidden + +`func (o *FileFileDistribution) SetHidden(v bool)` + +SetHidden sets Hidden field to given value. + +### HasHidden + +`func (o *FileFileDistribution) HasHidden() bool` + +HasHidden returns a boolean if a field has been set. + ### GetPulpLabels `func (o *FileFileDistribution) GetPulpLabels() map[string]string` diff --git a/release/docs/FileFileDistributionResponse.md b/release/docs/FileFileDistributionResponse.md index 0ee30a92..aadeb5fc 100644 --- a/release/docs/FileFileDistributionResponse.md +++ b/release/docs/FileFileDistributionResponse.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **BasePath** | **string** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | **BaseUrl** | Pointer to **string** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly] **ContentGuard** | Pointer to **NullableString** | An optional content-guard. | [optional] +**Hidden** | Pointer to **bool** | Whether this distribution should be shown in the content app. | [optional] [default to false] **PulpLabels** | Pointer to **map[string]string** | | [optional] **Name** | **string** | A unique name. Ex, `rawhide` and `stable`. | **Repository** | Pointer to **NullableString** | The latest RepositoryVersion for this Repository will be served. | [optional] @@ -163,6 +164,31 @@ HasContentGuard returns a boolean if a field has been set. `func (o *FileFileDistributionResponse) UnsetContentGuard()` UnsetContentGuard ensures that no value is present for ContentGuard, not even an explicit nil +### GetHidden + +`func (o *FileFileDistributionResponse) GetHidden() bool` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *FileFileDistributionResponse) GetHiddenOk() (*bool, bool)` + +GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHidden + +`func (o *FileFileDistributionResponse) SetHidden(v bool)` + +SetHidden sets Hidden field to given value. + +### HasHidden + +`func (o *FileFileDistributionResponse) HasHidden() bool` + +HasHidden returns a boolean if a field has been set. + ### GetPulpLabels `func (o *FileFileDistributionResponse) GetPulpLabels() map[string]string` diff --git a/release/docs/MavenMavenDistribution.md b/release/docs/MavenMavenDistribution.md index 2324d59c..03fd8455 100644 --- a/release/docs/MavenMavenDistribution.md +++ b/release/docs/MavenMavenDistribution.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **BasePath** | **string** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | **ContentGuard** | Pointer to **NullableString** | An optional content-guard. | [optional] +**Hidden** | Pointer to **bool** | Whether this distribution should be shown in the content app. | [optional] [default to false] **PulpLabels** | Pointer to **map[string]string** | | [optional] **Name** | **string** | A unique name. Ex, `rawhide` and `stable`. | **Repository** | Pointer to **NullableString** | The latest RepositoryVersion for this Repository will be served. | [optional] @@ -85,6 +86,31 @@ HasContentGuard returns a boolean if a field has been set. `func (o *MavenMavenDistribution) UnsetContentGuard()` UnsetContentGuard ensures that no value is present for ContentGuard, not even an explicit nil +### GetHidden + +`func (o *MavenMavenDistribution) GetHidden() bool` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *MavenMavenDistribution) GetHiddenOk() (*bool, bool)` + +GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHidden + +`func (o *MavenMavenDistribution) SetHidden(v bool)` + +SetHidden sets Hidden field to given value. + +### HasHidden + +`func (o *MavenMavenDistribution) HasHidden() bool` + +HasHidden returns a boolean if a field has been set. + ### GetPulpLabels `func (o *MavenMavenDistribution) GetPulpLabels() map[string]string` diff --git a/release/docs/MavenMavenDistributionResponse.md b/release/docs/MavenMavenDistributionResponse.md index e96e8bd1..4769fee0 100644 --- a/release/docs/MavenMavenDistributionResponse.md +++ b/release/docs/MavenMavenDistributionResponse.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **BasePath** | **string** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | **BaseUrl** | Pointer to **string** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly] **ContentGuard** | Pointer to **NullableString** | An optional content-guard. | [optional] +**Hidden** | Pointer to **bool** | Whether this distribution should be shown in the content app. | [optional] [default to false] **PulpLabels** | Pointer to **map[string]string** | | [optional] **Name** | **string** | A unique name. Ex, `rawhide` and `stable`. | **Repository** | Pointer to **NullableString** | The latest RepositoryVersion for this Repository will be served. | [optional] @@ -163,6 +164,31 @@ HasContentGuard returns a boolean if a field has been set. `func (o *MavenMavenDistributionResponse) UnsetContentGuard()` UnsetContentGuard ensures that no value is present for ContentGuard, not even an explicit nil +### GetHidden + +`func (o *MavenMavenDistributionResponse) GetHidden() bool` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *MavenMavenDistributionResponse) GetHiddenOk() (*bool, bool)` + +GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHidden + +`func (o *MavenMavenDistributionResponse) SetHidden(v bool)` + +SetHidden sets Hidden field to given value. + +### HasHidden + +`func (o *MavenMavenDistributionResponse) HasHidden() bool` + +HasHidden returns a boolean if a field has been set. + ### GetPulpLabels `func (o *MavenMavenDistributionResponse) GetPulpLabels() map[string]string` diff --git a/release/docs/OstreeOstreeDistribution.md b/release/docs/OstreeOstreeDistribution.md index 553ad340..767f8f14 100644 --- a/release/docs/OstreeOstreeDistribution.md +++ b/release/docs/OstreeOstreeDistribution.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **BasePath** | **string** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | **ContentGuard** | Pointer to **NullableString** | An optional content-guard. | [optional] +**Hidden** | Pointer to **bool** | Whether this distribution should be shown in the content app. | [optional] [default to false] **PulpLabels** | Pointer to **map[string]string** | | [optional] **Name** | **string** | A unique name. Ex, `rawhide` and `stable`. | **Repository** | Pointer to **NullableString** | The latest RepositoryVersion for this Repository will be served. | [optional] @@ -85,6 +86,31 @@ HasContentGuard returns a boolean if a field has been set. `func (o *OstreeOstreeDistribution) UnsetContentGuard()` UnsetContentGuard ensures that no value is present for ContentGuard, not even an explicit nil +### GetHidden + +`func (o *OstreeOstreeDistribution) GetHidden() bool` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *OstreeOstreeDistribution) GetHiddenOk() (*bool, bool)` + +GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHidden + +`func (o *OstreeOstreeDistribution) SetHidden(v bool)` + +SetHidden sets Hidden field to given value. + +### HasHidden + +`func (o *OstreeOstreeDistribution) HasHidden() bool` + +HasHidden returns a boolean if a field has been set. + ### GetPulpLabels `func (o *OstreeOstreeDistribution) GetPulpLabels() map[string]string` diff --git a/release/docs/OstreeOstreeDistributionResponse.md b/release/docs/OstreeOstreeDistributionResponse.md index b1941ede..9608d113 100644 --- a/release/docs/OstreeOstreeDistributionResponse.md +++ b/release/docs/OstreeOstreeDistributionResponse.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **BasePath** | **string** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | **BaseUrl** | Pointer to **string** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly] **ContentGuard** | Pointer to **NullableString** | An optional content-guard. | [optional] +**Hidden** | Pointer to **bool** | Whether this distribution should be shown in the content app. | [optional] [default to false] **PulpLabels** | Pointer to **map[string]string** | | [optional] **Name** | **string** | A unique name. Ex, `rawhide` and `stable`. | **Repository** | Pointer to **NullableString** | The latest RepositoryVersion for this Repository will be served. | [optional] @@ -163,6 +164,31 @@ HasContentGuard returns a boolean if a field has been set. `func (o *OstreeOstreeDistributionResponse) UnsetContentGuard()` UnsetContentGuard ensures that no value is present for ContentGuard, not even an explicit nil +### GetHidden + +`func (o *OstreeOstreeDistributionResponse) GetHidden() bool` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *OstreeOstreeDistributionResponse) GetHiddenOk() (*bool, bool)` + +GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHidden + +`func (o *OstreeOstreeDistributionResponse) SetHidden(v bool)` + +SetHidden sets Hidden field to given value. + +### HasHidden + +`func (o *OstreeOstreeDistributionResponse) HasHidden() bool` + +HasHidden returns a boolean if a field has been set. + ### GetPulpLabels `func (o *OstreeOstreeDistributionResponse) GetPulpLabels() map[string]string` diff --git a/release/docs/PatchedansibleGitRemote.md b/release/docs/PatchedansibleGitRemote.md index 93ee3922..79c24db0 100644 --- a/release/docs/PatchedansibleGitRemote.md +++ b/release/docs/PatchedansibleGitRemote.md @@ -4,26 +4,26 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**MaxRetries** | Pointer to **NullableInt64** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] -**ProxyPassword** | Pointer to **NullableString** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] -**ClientCert** | Pointer to **NullableString** | A PEM encoded client certificate used for authentication. | [optional] **PulpLabels** | Pointer to **map[string]string** | | [optional] -**TotalTimeout** | Pointer to **NullableFloat64** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] -**Url** | Pointer to **string** | The URL of an external content source. | [optional] -**TlsValidation** | Pointer to **bool** | If True, TLS peer validation must be performed. | [optional] +**MaxRetries** | Pointer to **NullableInt64** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] **Password** | Pointer to **NullableString** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] -**SockConnectTimeout** | Pointer to **NullableFloat64** | 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. | [optional] +**CaCert** | Pointer to **NullableString** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] +**SockReadTimeout** | Pointer to **NullableFloat64** | 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. | [optional] +**TotalTimeout** | Pointer to **NullableFloat64** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] **DownloadConcurrency** | Pointer to **NullableInt64** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] -**Name** | Pointer to **string** | A unique name for this remote. | [optional] -**ConnectTimeout** | Pointer to **NullableFloat64** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] +**ProxyPassword** | Pointer to **NullableString** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] +**ProxyUsername** | Pointer to **NullableString** | The username to authenticte to the proxy. | [optional] +**SockConnectTimeout** | Pointer to **NullableFloat64** | 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. | [optional] +**TlsValidation** | Pointer to **bool** | If True, TLS peer validation must be performed. | [optional] **Headers** | Pointer to **[]map[string]interface{}** | Headers for aiohttp.Clientsession | [optional] +**ClientKey** | Pointer to **NullableString** | A PEM encoded private key used for authentication. | [optional] +**ConnectTimeout** | Pointer to **NullableFloat64** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] **ProxyUrl** | Pointer to **NullableString** | The proxy URL. Format: scheme://host:port | [optional] **RateLimit** | Pointer to **NullableInt64** | Limits requests per second for each concurrent downloader | [optional] -**CaCert** | Pointer to **NullableString** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] -**SockReadTimeout** | Pointer to **NullableFloat64** | 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. | [optional] -**ProxyUsername** | Pointer to **NullableString** | The username to authenticte to the proxy. | [optional] +**Name** | Pointer to **string** | A unique name for this remote. | [optional] **Username** | Pointer to **NullableString** | The username to be used for authentication when syncing. | [optional] -**ClientKey** | Pointer to **NullableString** | A PEM encoded private key used for authentication. | [optional] +**ClientCert** | Pointer to **NullableString** | A PEM encoded client certificate used for authentication. | [optional] +**Url** | Pointer to **string** | The URL of an external content source. | [optional] **MetadataOnly** | Pointer to **bool** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] **GitRef** | Pointer to **string** | A git ref. e.g.: branch, tag, or commit sha. | [optional] @@ -46,6 +46,31 @@ NewPatchedansibleGitRemoteWithDefaults instantiates a new PatchedansibleGitRemot This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set +### GetPulpLabels + +`func (o *PatchedansibleGitRemote) GetPulpLabels() map[string]string` + +GetPulpLabels returns the PulpLabels field if non-nil, zero value otherwise. + +### GetPulpLabelsOk + +`func (o *PatchedansibleGitRemote) GetPulpLabelsOk() (*map[string]string, bool)` + +GetPulpLabelsOk returns a tuple with the PulpLabels field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPulpLabels + +`func (o *PatchedansibleGitRemote) SetPulpLabels(v map[string]string)` + +SetPulpLabels sets PulpLabels field to given value. + +### HasPulpLabels + +`func (o *PatchedansibleGitRemote) HasPulpLabels() bool` + +HasPulpLabels returns a boolean if a field has been set. + ### GetMaxRetries `func (o *PatchedansibleGitRemote) GetMaxRetries() int64` @@ -81,101 +106,111 @@ HasMaxRetries returns a boolean if a field has been set. `func (o *PatchedansibleGitRemote) UnsetMaxRetries()` UnsetMaxRetries ensures that no value is present for MaxRetries, not even an explicit nil -### GetProxyPassword +### GetPassword -`func (o *PatchedansibleGitRemote) GetProxyPassword() string` +`func (o *PatchedansibleGitRemote) GetPassword() string` -GetProxyPassword returns the ProxyPassword field if non-nil, zero value otherwise. +GetPassword returns the Password field if non-nil, zero value otherwise. -### GetProxyPasswordOk +### GetPasswordOk -`func (o *PatchedansibleGitRemote) GetProxyPasswordOk() (*string, bool)` +`func (o *PatchedansibleGitRemote) GetPasswordOk() (*string, bool)` -GetProxyPasswordOk returns a tuple with the ProxyPassword field if it's non-nil, zero value otherwise +GetPasswordOk returns a tuple with the Password field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetProxyPassword +### SetPassword -`func (o *PatchedansibleGitRemote) SetProxyPassword(v string)` +`func (o *PatchedansibleGitRemote) SetPassword(v string)` -SetProxyPassword sets ProxyPassword field to given value. +SetPassword sets Password field to given value. -### HasProxyPassword +### HasPassword -`func (o *PatchedansibleGitRemote) HasProxyPassword() bool` +`func (o *PatchedansibleGitRemote) HasPassword() bool` -HasProxyPassword returns a boolean if a field has been set. +HasPassword returns a boolean if a field has been set. -### SetProxyPasswordNil +### SetPasswordNil -`func (o *PatchedansibleGitRemote) SetProxyPasswordNil(b bool)` +`func (o *PatchedansibleGitRemote) SetPasswordNil(b bool)` - SetProxyPasswordNil sets the value for ProxyPassword to be an explicit nil + SetPasswordNil sets the value for Password to be an explicit nil -### UnsetProxyPassword -`func (o *PatchedansibleGitRemote) UnsetProxyPassword()` +### UnsetPassword +`func (o *PatchedansibleGitRemote) UnsetPassword()` -UnsetProxyPassword ensures that no value is present for ProxyPassword, not even an explicit nil -### GetClientCert +UnsetPassword ensures that no value is present for Password, not even an explicit nil +### GetCaCert -`func (o *PatchedansibleGitRemote) GetClientCert() string` +`func (o *PatchedansibleGitRemote) GetCaCert() string` -GetClientCert returns the ClientCert field if non-nil, zero value otherwise. +GetCaCert returns the CaCert field if non-nil, zero value otherwise. -### GetClientCertOk +### GetCaCertOk -`func (o *PatchedansibleGitRemote) GetClientCertOk() (*string, bool)` +`func (o *PatchedansibleGitRemote) GetCaCertOk() (*string, bool)` -GetClientCertOk returns a tuple with the ClientCert field if it's non-nil, zero value otherwise +GetCaCertOk returns a tuple with the CaCert field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetClientCert +### SetCaCert -`func (o *PatchedansibleGitRemote) SetClientCert(v string)` +`func (o *PatchedansibleGitRemote) SetCaCert(v string)` -SetClientCert sets ClientCert field to given value. +SetCaCert sets CaCert field to given value. -### HasClientCert +### HasCaCert -`func (o *PatchedansibleGitRemote) HasClientCert() bool` +`func (o *PatchedansibleGitRemote) HasCaCert() bool` -HasClientCert returns a boolean if a field has been set. +HasCaCert returns a boolean if a field has been set. -### SetClientCertNil +### SetCaCertNil -`func (o *PatchedansibleGitRemote) SetClientCertNil(b bool)` +`func (o *PatchedansibleGitRemote) SetCaCertNil(b bool)` - SetClientCertNil sets the value for ClientCert to be an explicit nil + SetCaCertNil sets the value for CaCert to be an explicit nil -### UnsetClientCert -`func (o *PatchedansibleGitRemote) UnsetClientCert()` +### UnsetCaCert +`func (o *PatchedansibleGitRemote) UnsetCaCert()` -UnsetClientCert ensures that no value is present for ClientCert, not even an explicit nil -### GetPulpLabels +UnsetCaCert ensures that no value is present for CaCert, not even an explicit nil +### GetSockReadTimeout -`func (o *PatchedansibleGitRemote) GetPulpLabels() map[string]string` +`func (o *PatchedansibleGitRemote) GetSockReadTimeout() float64` -GetPulpLabels returns the PulpLabels field if non-nil, zero value otherwise. +GetSockReadTimeout returns the SockReadTimeout field if non-nil, zero value otherwise. -### GetPulpLabelsOk +### GetSockReadTimeoutOk -`func (o *PatchedansibleGitRemote) GetPulpLabelsOk() (*map[string]string, bool)` +`func (o *PatchedansibleGitRemote) GetSockReadTimeoutOk() (*float64, bool)` -GetPulpLabelsOk returns a tuple with the PulpLabels field if it's non-nil, zero value otherwise +GetSockReadTimeoutOk returns a tuple with the SockReadTimeout field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetPulpLabels +### SetSockReadTimeout -`func (o *PatchedansibleGitRemote) SetPulpLabels(v map[string]string)` +`func (o *PatchedansibleGitRemote) SetSockReadTimeout(v float64)` -SetPulpLabels sets PulpLabels field to given value. +SetSockReadTimeout sets SockReadTimeout field to given value. -### HasPulpLabels +### HasSockReadTimeout -`func (o *PatchedansibleGitRemote) HasPulpLabels() bool` +`func (o *PatchedansibleGitRemote) HasSockReadTimeout() bool` -HasPulpLabels returns a boolean if a field has been set. +HasSockReadTimeout returns a boolean if a field has been set. + +### SetSockReadTimeoutNil + +`func (o *PatchedansibleGitRemote) SetSockReadTimeoutNil(b bool)` + + SetSockReadTimeoutNil sets the value for SockReadTimeout to be an explicit nil +### UnsetSockReadTimeout +`func (o *PatchedansibleGitRemote) UnsetSockReadTimeout()` + +UnsetSockReadTimeout ensures that no value is present for SockReadTimeout, not even an explicit nil ### GetTotalTimeout `func (o *PatchedansibleGitRemote) GetTotalTimeout() float64` @@ -211,91 +246,111 @@ HasTotalTimeout returns a boolean if a field has been set. `func (o *PatchedansibleGitRemote) UnsetTotalTimeout()` UnsetTotalTimeout ensures that no value is present for TotalTimeout, not even an explicit nil -### GetUrl +### GetDownloadConcurrency -`func (o *PatchedansibleGitRemote) GetUrl() string` +`func (o *PatchedansibleGitRemote) GetDownloadConcurrency() int64` -GetUrl returns the Url field if non-nil, zero value otherwise. +GetDownloadConcurrency returns the DownloadConcurrency field if non-nil, zero value otherwise. -### GetUrlOk +### GetDownloadConcurrencyOk -`func (o *PatchedansibleGitRemote) GetUrlOk() (*string, bool)` +`func (o *PatchedansibleGitRemote) GetDownloadConcurrencyOk() (*int64, bool)` -GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise +GetDownloadConcurrencyOk returns a tuple with the DownloadConcurrency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetUrl +### SetDownloadConcurrency -`func (o *PatchedansibleGitRemote) SetUrl(v string)` +`func (o *PatchedansibleGitRemote) SetDownloadConcurrency(v int64)` -SetUrl sets Url field to given value. +SetDownloadConcurrency sets DownloadConcurrency field to given value. -### HasUrl +### HasDownloadConcurrency -`func (o *PatchedansibleGitRemote) HasUrl() bool` +`func (o *PatchedansibleGitRemote) HasDownloadConcurrency() bool` -HasUrl returns a boolean if a field has been set. +HasDownloadConcurrency returns a boolean if a field has been set. -### GetTlsValidation +### SetDownloadConcurrencyNil -`func (o *PatchedansibleGitRemote) GetTlsValidation() bool` +`func (o *PatchedansibleGitRemote) SetDownloadConcurrencyNil(b bool)` -GetTlsValidation returns the TlsValidation field if non-nil, zero value otherwise. + SetDownloadConcurrencyNil sets the value for DownloadConcurrency to be an explicit nil -### GetTlsValidationOk +### UnsetDownloadConcurrency +`func (o *PatchedansibleGitRemote) UnsetDownloadConcurrency()` -`func (o *PatchedansibleGitRemote) GetTlsValidationOk() (*bool, bool)` +UnsetDownloadConcurrency ensures that no value is present for DownloadConcurrency, not even an explicit nil +### GetProxyPassword -GetTlsValidationOk returns a tuple with the TlsValidation field if it's non-nil, zero value otherwise +`func (o *PatchedansibleGitRemote) GetProxyPassword() string` + +GetProxyPassword returns the ProxyPassword field if non-nil, zero value otherwise. + +### GetProxyPasswordOk + +`func (o *PatchedansibleGitRemote) GetProxyPasswordOk() (*string, bool)` + +GetProxyPasswordOk returns a tuple with the ProxyPassword field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetTlsValidation +### SetProxyPassword -`func (o *PatchedansibleGitRemote) SetTlsValidation(v bool)` +`func (o *PatchedansibleGitRemote) SetProxyPassword(v string)` -SetTlsValidation sets TlsValidation field to given value. +SetProxyPassword sets ProxyPassword field to given value. -### HasTlsValidation +### HasProxyPassword -`func (o *PatchedansibleGitRemote) HasTlsValidation() bool` +`func (o *PatchedansibleGitRemote) HasProxyPassword() bool` -HasTlsValidation returns a boolean if a field has been set. +HasProxyPassword returns a boolean if a field has been set. -### GetPassword +### SetProxyPasswordNil -`func (o *PatchedansibleGitRemote) GetPassword() string` +`func (o *PatchedansibleGitRemote) SetProxyPasswordNil(b bool)` -GetPassword returns the Password field if non-nil, zero value otherwise. + SetProxyPasswordNil sets the value for ProxyPassword to be an explicit nil -### GetPasswordOk +### UnsetProxyPassword +`func (o *PatchedansibleGitRemote) UnsetProxyPassword()` -`func (o *PatchedansibleGitRemote) GetPasswordOk() (*string, bool)` +UnsetProxyPassword ensures that no value is present for ProxyPassword, not even an explicit nil +### GetProxyUsername -GetPasswordOk returns a tuple with the Password field if it's non-nil, zero value otherwise +`func (o *PatchedansibleGitRemote) GetProxyUsername() string` + +GetProxyUsername returns the ProxyUsername field if non-nil, zero value otherwise. + +### GetProxyUsernameOk + +`func (o *PatchedansibleGitRemote) GetProxyUsernameOk() (*string, bool)` + +GetProxyUsernameOk returns a tuple with the ProxyUsername field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetPassword +### SetProxyUsername -`func (o *PatchedansibleGitRemote) SetPassword(v string)` +`func (o *PatchedansibleGitRemote) SetProxyUsername(v string)` -SetPassword sets Password field to given value. +SetProxyUsername sets ProxyUsername field to given value. -### HasPassword +### HasProxyUsername -`func (o *PatchedansibleGitRemote) HasPassword() bool` +`func (o *PatchedansibleGitRemote) HasProxyUsername() bool` -HasPassword returns a boolean if a field has been set. +HasProxyUsername returns a boolean if a field has been set. -### SetPasswordNil +### SetProxyUsernameNil -`func (o *PatchedansibleGitRemote) SetPasswordNil(b bool)` +`func (o *PatchedansibleGitRemote) SetProxyUsernameNil(b bool)` - SetPasswordNil sets the value for Password to be an explicit nil + SetProxyUsernameNil sets the value for ProxyUsername to be an explicit nil -### UnsetPassword -`func (o *PatchedansibleGitRemote) UnsetPassword()` +### UnsetProxyUsername +`func (o *PatchedansibleGitRemote) UnsetProxyUsername()` -UnsetPassword ensures that no value is present for Password, not even an explicit nil +UnsetProxyUsername ensures that no value is present for ProxyUsername, not even an explicit nil ### GetSockConnectTimeout `func (o *PatchedansibleGitRemote) GetSockConnectTimeout() float64` @@ -327,70 +382,95 @@ HasSockConnectTimeout returns a boolean if a field has been set. SetSockConnectTimeoutNil sets the value for SockConnectTimeout to be an explicit nil -### UnsetSockConnectTimeout -`func (o *PatchedansibleGitRemote) UnsetSockConnectTimeout()` +### UnsetSockConnectTimeout +`func (o *PatchedansibleGitRemote) UnsetSockConnectTimeout()` + +UnsetSockConnectTimeout ensures that no value is present for SockConnectTimeout, not even an explicit nil +### GetTlsValidation + +`func (o *PatchedansibleGitRemote) GetTlsValidation() bool` + +GetTlsValidation returns the TlsValidation field if non-nil, zero value otherwise. + +### GetTlsValidationOk + +`func (o *PatchedansibleGitRemote) GetTlsValidationOk() (*bool, bool)` + +GetTlsValidationOk returns a tuple with the TlsValidation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTlsValidation + +`func (o *PatchedansibleGitRemote) SetTlsValidation(v bool)` + +SetTlsValidation sets TlsValidation field to given value. + +### HasTlsValidation + +`func (o *PatchedansibleGitRemote) HasTlsValidation() bool` + +HasTlsValidation returns a boolean if a field has been set. -UnsetSockConnectTimeout ensures that no value is present for SockConnectTimeout, not even an explicit nil -### GetDownloadConcurrency +### GetHeaders -`func (o *PatchedansibleGitRemote) GetDownloadConcurrency() int64` +`func (o *PatchedansibleGitRemote) GetHeaders() []map[string]interface{}` -GetDownloadConcurrency returns the DownloadConcurrency field if non-nil, zero value otherwise. +GetHeaders returns the Headers field if non-nil, zero value otherwise. -### GetDownloadConcurrencyOk +### GetHeadersOk -`func (o *PatchedansibleGitRemote) GetDownloadConcurrencyOk() (*int64, bool)` +`func (o *PatchedansibleGitRemote) GetHeadersOk() (*[]map[string]interface{}, bool)` -GetDownloadConcurrencyOk returns a tuple with the DownloadConcurrency field if it's non-nil, zero value otherwise +GetHeadersOk returns a tuple with the Headers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetDownloadConcurrency +### SetHeaders -`func (o *PatchedansibleGitRemote) SetDownloadConcurrency(v int64)` +`func (o *PatchedansibleGitRemote) SetHeaders(v []map[string]interface{})` -SetDownloadConcurrency sets DownloadConcurrency field to given value. +SetHeaders sets Headers field to given value. -### HasDownloadConcurrency +### HasHeaders -`func (o *PatchedansibleGitRemote) HasDownloadConcurrency() bool` +`func (o *PatchedansibleGitRemote) HasHeaders() bool` -HasDownloadConcurrency returns a boolean if a field has been set. +HasHeaders returns a boolean if a field has been set. -### SetDownloadConcurrencyNil +### GetClientKey -`func (o *PatchedansibleGitRemote) SetDownloadConcurrencyNil(b bool)` +`func (o *PatchedansibleGitRemote) GetClientKey() string` - SetDownloadConcurrencyNil sets the value for DownloadConcurrency to be an explicit nil +GetClientKey returns the ClientKey field if non-nil, zero value otherwise. -### UnsetDownloadConcurrency -`func (o *PatchedansibleGitRemote) UnsetDownloadConcurrency()` +### GetClientKeyOk -UnsetDownloadConcurrency ensures that no value is present for DownloadConcurrency, not even an explicit nil -### GetName +`func (o *PatchedansibleGitRemote) GetClientKeyOk() (*string, bool)` -`func (o *PatchedansibleGitRemote) GetName() string` +GetClientKeyOk returns a tuple with the ClientKey field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. -GetName returns the Name field if non-nil, zero value otherwise. +### SetClientKey -### GetNameOk +`func (o *PatchedansibleGitRemote) SetClientKey(v string)` -`func (o *PatchedansibleGitRemote) GetNameOk() (*string, bool)` +SetClientKey sets ClientKey field to given value. -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. +### HasClientKey -### SetName +`func (o *PatchedansibleGitRemote) HasClientKey() bool` -`func (o *PatchedansibleGitRemote) SetName(v string)` +HasClientKey returns a boolean if a field has been set. -SetName sets Name field to given value. +### SetClientKeyNil -### HasName +`func (o *PatchedansibleGitRemote) SetClientKeyNil(b bool)` -`func (o *PatchedansibleGitRemote) HasName() bool` + SetClientKeyNil sets the value for ClientKey to be an explicit nil -HasName returns a boolean if a field has been set. +### UnsetClientKey +`func (o *PatchedansibleGitRemote) UnsetClientKey()` +UnsetClientKey ensures that no value is present for ClientKey, not even an explicit nil ### GetConnectTimeout `func (o *PatchedansibleGitRemote) GetConnectTimeout() float64` @@ -426,31 +506,6 @@ HasConnectTimeout returns a boolean if a field has been set. `func (o *PatchedansibleGitRemote) UnsetConnectTimeout()` UnsetConnectTimeout ensures that no value is present for ConnectTimeout, not even an explicit nil -### GetHeaders - -`func (o *PatchedansibleGitRemote) GetHeaders() []map[string]interface{}` - -GetHeaders returns the Headers field if non-nil, zero value otherwise. - -### GetHeadersOk - -`func (o *PatchedansibleGitRemote) GetHeadersOk() (*[]map[string]interface{}, bool)` - -GetHeadersOk returns a tuple with the Headers field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetHeaders - -`func (o *PatchedansibleGitRemote) SetHeaders(v []map[string]interface{})` - -SetHeaders sets Headers field to given value. - -### HasHeaders - -`func (o *PatchedansibleGitRemote) HasHeaders() bool` - -HasHeaders returns a boolean if a field has been set. - ### GetProxyUrl `func (o *PatchedansibleGitRemote) GetProxyUrl() string` @@ -521,111 +576,31 @@ HasRateLimit returns a boolean if a field has been set. `func (o *PatchedansibleGitRemote) UnsetRateLimit()` UnsetRateLimit ensures that no value is present for RateLimit, not even an explicit nil -### GetCaCert - -`func (o *PatchedansibleGitRemote) GetCaCert() string` - -GetCaCert returns the CaCert field if non-nil, zero value otherwise. - -### GetCaCertOk - -`func (o *PatchedansibleGitRemote) GetCaCertOk() (*string, bool)` - -GetCaCertOk returns a tuple with the CaCert field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCaCert - -`func (o *PatchedansibleGitRemote) SetCaCert(v string)` - -SetCaCert sets CaCert field to given value. - -### HasCaCert - -`func (o *PatchedansibleGitRemote) HasCaCert() bool` - -HasCaCert returns a boolean if a field has been set. - -### SetCaCertNil - -`func (o *PatchedansibleGitRemote) SetCaCertNil(b bool)` - - SetCaCertNil sets the value for CaCert to be an explicit nil - -### UnsetCaCert -`func (o *PatchedansibleGitRemote) UnsetCaCert()` - -UnsetCaCert ensures that no value is present for CaCert, not even an explicit nil -### GetSockReadTimeout - -`func (o *PatchedansibleGitRemote) GetSockReadTimeout() float64` - -GetSockReadTimeout returns the SockReadTimeout field if non-nil, zero value otherwise. - -### GetSockReadTimeoutOk - -`func (o *PatchedansibleGitRemote) GetSockReadTimeoutOk() (*float64, bool)` - -GetSockReadTimeoutOk returns a tuple with the SockReadTimeout field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSockReadTimeout - -`func (o *PatchedansibleGitRemote) SetSockReadTimeout(v float64)` - -SetSockReadTimeout sets SockReadTimeout field to given value. - -### HasSockReadTimeout - -`func (o *PatchedansibleGitRemote) HasSockReadTimeout() bool` - -HasSockReadTimeout returns a boolean if a field has been set. - -### SetSockReadTimeoutNil - -`func (o *PatchedansibleGitRemote) SetSockReadTimeoutNil(b bool)` - - SetSockReadTimeoutNil sets the value for SockReadTimeout to be an explicit nil - -### UnsetSockReadTimeout -`func (o *PatchedansibleGitRemote) UnsetSockReadTimeout()` - -UnsetSockReadTimeout ensures that no value is present for SockReadTimeout, not even an explicit nil -### GetProxyUsername +### GetName -`func (o *PatchedansibleGitRemote) GetProxyUsername() string` +`func (o *PatchedansibleGitRemote) GetName() string` -GetProxyUsername returns the ProxyUsername field if non-nil, zero value otherwise. +GetName returns the Name field if non-nil, zero value otherwise. -### GetProxyUsernameOk +### GetNameOk -`func (o *PatchedansibleGitRemote) GetProxyUsernameOk() (*string, bool)` +`func (o *PatchedansibleGitRemote) GetNameOk() (*string, bool)` -GetProxyUsernameOk returns a tuple with the ProxyUsername field if it's non-nil, zero value otherwise +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetProxyUsername - -`func (o *PatchedansibleGitRemote) SetProxyUsername(v string)` - -SetProxyUsername sets ProxyUsername field to given value. - -### HasProxyUsername - -`func (o *PatchedansibleGitRemote) HasProxyUsername() bool` +### SetName -HasProxyUsername returns a boolean if a field has been set. +`func (o *PatchedansibleGitRemote) SetName(v string)` -### SetProxyUsernameNil +SetName sets Name field to given value. -`func (o *PatchedansibleGitRemote) SetProxyUsernameNil(b bool)` +### HasName - SetProxyUsernameNil sets the value for ProxyUsername to be an explicit nil +`func (o *PatchedansibleGitRemote) HasName() bool` -### UnsetProxyUsername -`func (o *PatchedansibleGitRemote) UnsetProxyUsername()` +HasName returns a boolean if a field has been set. -UnsetProxyUsername ensures that no value is present for ProxyUsername, not even an explicit nil ### GetUsername `func (o *PatchedansibleGitRemote) GetUsername() string` @@ -661,41 +636,66 @@ HasUsername returns a boolean if a field has been set. `func (o *PatchedansibleGitRemote) UnsetUsername()` UnsetUsername ensures that no value is present for Username, not even an explicit nil -### GetClientKey +### GetClientCert -`func (o *PatchedansibleGitRemote) GetClientKey() string` +`func (o *PatchedansibleGitRemote) GetClientCert() string` -GetClientKey returns the ClientKey field if non-nil, zero value otherwise. +GetClientCert returns the ClientCert field if non-nil, zero value otherwise. -### GetClientKeyOk +### GetClientCertOk -`func (o *PatchedansibleGitRemote) GetClientKeyOk() (*string, bool)` +`func (o *PatchedansibleGitRemote) GetClientCertOk() (*string, bool)` -GetClientKeyOk returns a tuple with the ClientKey field if it's non-nil, zero value otherwise +GetClientCertOk returns a tuple with the ClientCert field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetClientKey +### SetClientCert -`func (o *PatchedansibleGitRemote) SetClientKey(v string)` +`func (o *PatchedansibleGitRemote) SetClientCert(v string)` -SetClientKey sets ClientKey field to given value. +SetClientCert sets ClientCert field to given value. -### HasClientKey +### HasClientCert -`func (o *PatchedansibleGitRemote) HasClientKey() bool` +`func (o *PatchedansibleGitRemote) HasClientCert() bool` -HasClientKey returns a boolean if a field has been set. +HasClientCert returns a boolean if a field has been set. -### SetClientKeyNil +### SetClientCertNil -`func (o *PatchedansibleGitRemote) SetClientKeyNil(b bool)` +`func (o *PatchedansibleGitRemote) SetClientCertNil(b bool)` - SetClientKeyNil sets the value for ClientKey to be an explicit nil + SetClientCertNil sets the value for ClientCert to be an explicit nil -### UnsetClientKey -`func (o *PatchedansibleGitRemote) UnsetClientKey()` +### UnsetClientCert +`func (o *PatchedansibleGitRemote) UnsetClientCert()` + +UnsetClientCert ensures that no value is present for ClientCert, not even an explicit nil +### GetUrl + +`func (o *PatchedansibleGitRemote) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *PatchedansibleGitRemote) GetUrlOk() (*string, bool)` + +GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUrl + +`func (o *PatchedansibleGitRemote) SetUrl(v string)` + +SetUrl sets Url field to given value. + +### HasUrl + +`func (o *PatchedansibleGitRemote) HasUrl() bool` + +HasUrl returns a boolean if a field has been set. -UnsetClientKey ensures that no value is present for ClientKey, not even an explicit nil ### GetMetadataOnly `func (o *PatchedansibleGitRemote) GetMetadataOnly() bool` diff --git a/release/docs/PatchedcontainerContainerDistribution.md b/release/docs/PatchedcontainerContainerDistribution.md index 6d09cec5..bc6a68e0 100644 --- a/release/docs/PatchedcontainerContainerDistribution.md +++ b/release/docs/PatchedcontainerContainerDistribution.md @@ -5,10 +5,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PulpLabels** | Pointer to **map[string]string** | | [optional] -**BasePath** | Pointer to **string** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional] **Repository** | Pointer to **NullableString** | The latest RepositoryVersion for this Repository will be served. | [optional] +**BasePath** | Pointer to **string** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional] **ContentGuard** | Pointer to **string** | An optional content-guard. If none is specified, a default one will be used. | [optional] **Name** | Pointer to **string** | A unique name. Ex, `rawhide` and `stable`. | [optional] +**Hidden** | Pointer to **bool** | Whether this distribution should be shown in the content app. | [optional] [default to false] **RepositoryVersion** | Pointer to **NullableString** | RepositoryVersion to be served | [optional] **Private** | Pointer to **bool** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional] **Description** | Pointer to **NullableString** | An optional description. | [optional] @@ -57,31 +58,6 @@ SetPulpLabels sets PulpLabels field to given value. HasPulpLabels returns a boolean if a field has been set. -### GetBasePath - -`func (o *PatchedcontainerContainerDistribution) GetBasePath() string` - -GetBasePath returns the BasePath field if non-nil, zero value otherwise. - -### GetBasePathOk - -`func (o *PatchedcontainerContainerDistribution) GetBasePathOk() (*string, bool)` - -GetBasePathOk returns a tuple with the BasePath field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBasePath - -`func (o *PatchedcontainerContainerDistribution) SetBasePath(v string)` - -SetBasePath sets BasePath field to given value. - -### HasBasePath - -`func (o *PatchedcontainerContainerDistribution) HasBasePath() bool` - -HasBasePath returns a boolean if a field has been set. - ### GetRepository `func (o *PatchedcontainerContainerDistribution) GetRepository() string` @@ -117,6 +93,31 @@ HasRepository returns a boolean if a field has been set. `func (o *PatchedcontainerContainerDistribution) UnsetRepository()` UnsetRepository ensures that no value is present for Repository, not even an explicit nil +### GetBasePath + +`func (o *PatchedcontainerContainerDistribution) GetBasePath() string` + +GetBasePath returns the BasePath field if non-nil, zero value otherwise. + +### GetBasePathOk + +`func (o *PatchedcontainerContainerDistribution) GetBasePathOk() (*string, bool)` + +GetBasePathOk returns a tuple with the BasePath field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBasePath + +`func (o *PatchedcontainerContainerDistribution) SetBasePath(v string)` + +SetBasePath sets BasePath field to given value. + +### HasBasePath + +`func (o *PatchedcontainerContainerDistribution) HasBasePath() bool` + +HasBasePath returns a boolean if a field has been set. + ### GetContentGuard `func (o *PatchedcontainerContainerDistribution) GetContentGuard() string` @@ -167,6 +168,31 @@ SetName sets Name field to given value. HasName returns a boolean if a field has been set. +### GetHidden + +`func (o *PatchedcontainerContainerDistribution) GetHidden() bool` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *PatchedcontainerContainerDistribution) GetHiddenOk() (*bool, bool)` + +GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHidden + +`func (o *PatchedcontainerContainerDistribution) SetHidden(v bool)` + +SetHidden sets Hidden field to given value. + +### HasHidden + +`func (o *PatchedcontainerContainerDistribution) HasHidden() bool` + +HasHidden returns a boolean if a field has been set. + ### GetRepositoryVersion `func (o *PatchedcontainerContainerDistribution) GetRepositoryVersion() string` diff --git a/release/docs/PatchedcontainerContainerPushRepository.md b/release/docs/PatchedcontainerContainerPushRepository.md index caa7ed3d..bcb801e2 100644 --- a/release/docs/PatchedcontainerContainerPushRepository.md +++ b/release/docs/PatchedcontainerContainerPushRepository.md @@ -4,11 +4,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ManifestSigningService** | Pointer to **NullableString** | A reference to an associated signing service. | [optional] **PulpLabels** | Pointer to **map[string]string** | | [optional] -**Description** | Pointer to **NullableString** | An optional description. | [optional] +**ManifestSigningService** | Pointer to **NullableString** | A reference to an associated signing service. | [optional] **RetainRepoVersions** | Pointer to **NullableInt64** | Retain X versions of the repository. Default is null which retains all versions. | [optional] **Name** | Pointer to **string** | A unique name for this repository. | [optional] +**Description** | Pointer to **NullableString** | An optional description. | [optional] ## Methods @@ -29,41 +29,6 @@ NewPatchedcontainerContainerPushRepositoryWithDefaults instantiates a new Patche This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetManifestSigningService - -`func (o *PatchedcontainerContainerPushRepository) GetManifestSigningService() string` - -GetManifestSigningService returns the ManifestSigningService field if non-nil, zero value otherwise. - -### GetManifestSigningServiceOk - -`func (o *PatchedcontainerContainerPushRepository) GetManifestSigningServiceOk() (*string, bool)` - -GetManifestSigningServiceOk returns a tuple with the ManifestSigningService field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetManifestSigningService - -`func (o *PatchedcontainerContainerPushRepository) SetManifestSigningService(v string)` - -SetManifestSigningService sets ManifestSigningService field to given value. - -### HasManifestSigningService - -`func (o *PatchedcontainerContainerPushRepository) HasManifestSigningService() bool` - -HasManifestSigningService returns a boolean if a field has been set. - -### SetManifestSigningServiceNil - -`func (o *PatchedcontainerContainerPushRepository) SetManifestSigningServiceNil(b bool)` - - SetManifestSigningServiceNil sets the value for ManifestSigningService to be an explicit nil - -### UnsetManifestSigningService -`func (o *PatchedcontainerContainerPushRepository) UnsetManifestSigningService()` - -UnsetManifestSigningService ensures that no value is present for ManifestSigningService, not even an explicit nil ### GetPulpLabels `func (o *PatchedcontainerContainerPushRepository) GetPulpLabels() map[string]string` @@ -89,41 +54,41 @@ SetPulpLabels sets PulpLabels field to given value. HasPulpLabels returns a boolean if a field has been set. -### GetDescription +### GetManifestSigningService -`func (o *PatchedcontainerContainerPushRepository) GetDescription() string` +`func (o *PatchedcontainerContainerPushRepository) GetManifestSigningService() string` -GetDescription returns the Description field if non-nil, zero value otherwise. +GetManifestSigningService returns the ManifestSigningService field if non-nil, zero value otherwise. -### GetDescriptionOk +### GetManifestSigningServiceOk -`func (o *PatchedcontainerContainerPushRepository) GetDescriptionOk() (*string, bool)` +`func (o *PatchedcontainerContainerPushRepository) GetManifestSigningServiceOk() (*string, bool)` -GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +GetManifestSigningServiceOk returns a tuple with the ManifestSigningService field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetDescription +### SetManifestSigningService -`func (o *PatchedcontainerContainerPushRepository) SetDescription(v string)` +`func (o *PatchedcontainerContainerPushRepository) SetManifestSigningService(v string)` -SetDescription sets Description field to given value. +SetManifestSigningService sets ManifestSigningService field to given value. -### HasDescription +### HasManifestSigningService -`func (o *PatchedcontainerContainerPushRepository) HasDescription() bool` +`func (o *PatchedcontainerContainerPushRepository) HasManifestSigningService() bool` -HasDescription returns a boolean if a field has been set. +HasManifestSigningService returns a boolean if a field has been set. -### SetDescriptionNil +### SetManifestSigningServiceNil -`func (o *PatchedcontainerContainerPushRepository) SetDescriptionNil(b bool)` +`func (o *PatchedcontainerContainerPushRepository) SetManifestSigningServiceNil(b bool)` - SetDescriptionNil sets the value for Description to be an explicit nil + SetManifestSigningServiceNil sets the value for ManifestSigningService to be an explicit nil -### UnsetDescription -`func (o *PatchedcontainerContainerPushRepository) UnsetDescription()` +### UnsetManifestSigningService +`func (o *PatchedcontainerContainerPushRepository) UnsetManifestSigningService()` -UnsetDescription ensures that no value is present for Description, not even an explicit nil +UnsetManifestSigningService ensures that no value is present for ManifestSigningService, not even an explicit nil ### GetRetainRepoVersions `func (o *PatchedcontainerContainerPushRepository) GetRetainRepoVersions() int64` @@ -184,6 +149,41 @@ SetName sets Name field to given value. HasName returns a boolean if a field has been set. +### GetDescription + +`func (o *PatchedcontainerContainerPushRepository) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *PatchedcontainerContainerPushRepository) GetDescriptionOk() (*string, bool)` + +GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescription + +`func (o *PatchedcontainerContainerPushRepository) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *PatchedcontainerContainerPushRepository) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### SetDescriptionNil + +`func (o *PatchedcontainerContainerPushRepository) SetDescriptionNil(b bool)` + + SetDescriptionNil sets the value for Description to be an explicit nil + +### UnsetDescription +`func (o *PatchedcontainerContainerPushRepository) UnsetDescription()` + +UnsetDescription ensures that no value is present for Description, not even an explicit nil [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/release/docs/PatcheddebAptDistribution.md b/release/docs/PatcheddebAptDistribution.md index 0019885b..c7061b44 100644 --- a/release/docs/PatcheddebAptDistribution.md +++ b/release/docs/PatcheddebAptDistribution.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **BasePath** | Pointer to **string** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional] **ContentGuard** | Pointer to **NullableString** | An optional content-guard. | [optional] +**Hidden** | Pointer to **bool** | Whether this distribution should be shown in the content app. | [optional] [default to false] **PulpLabels** | Pointer to **map[string]string** | | [optional] **Name** | Pointer to **string** | A unique name. Ex, `rawhide` and `stable`. | [optional] **Repository** | Pointer to **NullableString** | The latest RepositoryVersion for this Repository will be served. | [optional] @@ -90,6 +91,31 @@ HasContentGuard returns a boolean if a field has been set. `func (o *PatcheddebAptDistribution) UnsetContentGuard()` UnsetContentGuard ensures that no value is present for ContentGuard, not even an explicit nil +### GetHidden + +`func (o *PatcheddebAptDistribution) GetHidden() bool` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *PatcheddebAptDistribution) GetHiddenOk() (*bool, bool)` + +GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHidden + +`func (o *PatcheddebAptDistribution) SetHidden(v bool)` + +SetHidden sets Hidden field to given value. + +### HasHidden + +`func (o *PatcheddebAptDistribution) HasHidden() bool` + +HasHidden returns a boolean if a field has been set. + ### GetPulpLabels `func (o *PatcheddebAptDistribution) GetPulpLabels() map[string]string` diff --git a/release/docs/PatchedfileFileDistribution.md b/release/docs/PatchedfileFileDistribution.md index d5ef9e5e..d108719c 100644 --- a/release/docs/PatchedfileFileDistribution.md +++ b/release/docs/PatchedfileFileDistribution.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **BasePath** | Pointer to **string** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional] **ContentGuard** | Pointer to **NullableString** | An optional content-guard. | [optional] +**Hidden** | Pointer to **bool** | Whether this distribution should be shown in the content app. | [optional] [default to false] **PulpLabels** | Pointer to **map[string]string** | | [optional] **Name** | Pointer to **string** | A unique name. Ex, `rawhide` and `stable`. | [optional] **Repository** | Pointer to **NullableString** | The latest RepositoryVersion for this Repository will be served. | [optional] @@ -90,6 +91,31 @@ HasContentGuard returns a boolean if a field has been set. `func (o *PatchedfileFileDistribution) UnsetContentGuard()` UnsetContentGuard ensures that no value is present for ContentGuard, not even an explicit nil +### GetHidden + +`func (o *PatchedfileFileDistribution) GetHidden() bool` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *PatchedfileFileDistribution) GetHiddenOk() (*bool, bool)` + +GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHidden + +`func (o *PatchedfileFileDistribution) SetHidden(v bool)` + +SetHidden sets Hidden field to given value. + +### HasHidden + +`func (o *PatchedfileFileDistribution) HasHidden() bool` + +HasHidden returns a boolean if a field has been set. + ### GetPulpLabels `func (o *PatchedfileFileDistribution) GetPulpLabels() map[string]string` diff --git a/release/docs/PatchedmavenMavenDistribution.md b/release/docs/PatchedmavenMavenDistribution.md index 794217ab..875a014f 100644 --- a/release/docs/PatchedmavenMavenDistribution.md +++ b/release/docs/PatchedmavenMavenDistribution.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **BasePath** | Pointer to **string** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional] **ContentGuard** | Pointer to **NullableString** | An optional content-guard. | [optional] +**Hidden** | Pointer to **bool** | Whether this distribution should be shown in the content app. | [optional] [default to false] **PulpLabels** | Pointer to **map[string]string** | | [optional] **Name** | Pointer to **string** | A unique name. Ex, `rawhide` and `stable`. | [optional] **Repository** | Pointer to **NullableString** | The latest RepositoryVersion for this Repository will be served. | [optional] @@ -90,6 +91,31 @@ HasContentGuard returns a boolean if a field has been set. `func (o *PatchedmavenMavenDistribution) UnsetContentGuard()` UnsetContentGuard ensures that no value is present for ContentGuard, not even an explicit nil +### GetHidden + +`func (o *PatchedmavenMavenDistribution) GetHidden() bool` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *PatchedmavenMavenDistribution) GetHiddenOk() (*bool, bool)` + +GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHidden + +`func (o *PatchedmavenMavenDistribution) SetHidden(v bool)` + +SetHidden sets Hidden field to given value. + +### HasHidden + +`func (o *PatchedmavenMavenDistribution) HasHidden() bool` + +HasHidden returns a boolean if a field has been set. + ### GetPulpLabels `func (o *PatchedmavenMavenDistribution) GetPulpLabels() map[string]string` diff --git a/release/docs/PatchedostreeOstreeDistribution.md b/release/docs/PatchedostreeOstreeDistribution.md index 1bf4dcae..a7316a3d 100644 --- a/release/docs/PatchedostreeOstreeDistribution.md +++ b/release/docs/PatchedostreeOstreeDistribution.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **BasePath** | Pointer to **string** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional] **ContentGuard** | Pointer to **NullableString** | An optional content-guard. | [optional] +**Hidden** | Pointer to **bool** | Whether this distribution should be shown in the content app. | [optional] [default to false] **PulpLabels** | Pointer to **map[string]string** | | [optional] **Name** | Pointer to **string** | A unique name. Ex, `rawhide` and `stable`. | [optional] **Repository** | Pointer to **NullableString** | The latest RepositoryVersion for this Repository will be served. | [optional] @@ -90,6 +91,31 @@ HasContentGuard returns a boolean if a field has been set. `func (o *PatchedostreeOstreeDistribution) UnsetContentGuard()` UnsetContentGuard ensures that no value is present for ContentGuard, not even an explicit nil +### GetHidden + +`func (o *PatchedostreeOstreeDistribution) GetHidden() bool` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *PatchedostreeOstreeDistribution) GetHiddenOk() (*bool, bool)` + +GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHidden + +`func (o *PatchedostreeOstreeDistribution) SetHidden(v bool)` + +SetHidden sets Hidden field to given value. + +### HasHidden + +`func (o *PatchedostreeOstreeDistribution) HasHidden() bool` + +HasHidden returns a boolean if a field has been set. + ### GetPulpLabels `func (o *PatchedostreeOstreeDistribution) GetPulpLabels() map[string]string` diff --git a/release/docs/PatchedpythonPythonDistribution.md b/release/docs/PatchedpythonPythonDistribution.md index 0068c5e1..98eff310 100644 --- a/release/docs/PatchedpythonPythonDistribution.md +++ b/release/docs/PatchedpythonPythonDistribution.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **BasePath** | Pointer to **string** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional] **ContentGuard** | Pointer to **NullableString** | An optional content-guard. | [optional] +**Hidden** | Pointer to **bool** | Whether this distribution should be shown in the content app. | [optional] [default to false] **PulpLabels** | Pointer to **map[string]string** | | [optional] **Name** | Pointer to **string** | A unique name. Ex, `rawhide` and `stable`. | [optional] **Repository** | Pointer to **NullableString** | The latest RepositoryVersion for this Repository will be served. | [optional] @@ -92,6 +93,31 @@ HasContentGuard returns a boolean if a field has been set. `func (o *PatchedpythonPythonDistribution) UnsetContentGuard()` UnsetContentGuard ensures that no value is present for ContentGuard, not even an explicit nil +### GetHidden + +`func (o *PatchedpythonPythonDistribution) GetHidden() bool` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *PatchedpythonPythonDistribution) GetHiddenOk() (*bool, bool)` + +GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHidden + +`func (o *PatchedpythonPythonDistribution) SetHidden(v bool)` + +SetHidden sets Hidden field to given value. + +### HasHidden + +`func (o *PatchedpythonPythonDistribution) HasHidden() bool` + +HasHidden returns a boolean if a field has been set. + ### GetPulpLabels `func (o *PatchedpythonPythonDistribution) GetPulpLabels() map[string]string` diff --git a/release/docs/PatchedrpmRpmDistribution.md b/release/docs/PatchedrpmRpmDistribution.md index b2da525d..47a0d734 100644 --- a/release/docs/PatchedrpmRpmDistribution.md +++ b/release/docs/PatchedrpmRpmDistribution.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **BasePath** | Pointer to **string** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional] **ContentGuard** | Pointer to **NullableString** | An optional content-guard. | [optional] +**Hidden** | Pointer to **bool** | Whether this distribution should be shown in the content app. | [optional] [default to false] **PulpLabels** | Pointer to **map[string]string** | | [optional] **Name** | Pointer to **string** | A unique name. Ex, `rawhide` and `stable`. | [optional] **Repository** | Pointer to **NullableString** | The latest RepositoryVersion for this Repository will be served. | [optional] @@ -90,6 +91,31 @@ HasContentGuard returns a boolean if a field has been set. `func (o *PatchedrpmRpmDistribution) UnsetContentGuard()` UnsetContentGuard ensures that no value is present for ContentGuard, not even an explicit nil +### GetHidden + +`func (o *PatchedrpmRpmDistribution) GetHidden() bool` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *PatchedrpmRpmDistribution) GetHiddenOk() (*bool, bool)` + +GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHidden + +`func (o *PatchedrpmRpmDistribution) SetHidden(v bool)` + +SetHidden sets Hidden field to given value. + +### HasHidden + +`func (o *PatchedrpmRpmDistribution) HasHidden() bool` + +HasHidden returns a boolean if a field has been set. + ### GetPulpLabels `func (o *PatchedrpmRpmDistribution) GetPulpLabels() map[string]string` diff --git a/release/docs/PythonPythonDistribution.md b/release/docs/PythonPythonDistribution.md index 48266fdf..c0012ffd 100644 --- a/release/docs/PythonPythonDistribution.md +++ b/release/docs/PythonPythonDistribution.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **BasePath** | **string** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | **ContentGuard** | Pointer to **NullableString** | An optional content-guard. | [optional] +**Hidden** | Pointer to **bool** | Whether this distribution should be shown in the content app. | [optional] [default to false] **PulpLabels** | Pointer to **map[string]string** | | [optional] **Name** | **string** | A unique name. Ex, `rawhide` and `stable`. | **Repository** | Pointer to **NullableString** | The latest RepositoryVersion for this Repository will be served. | [optional] @@ -87,6 +88,31 @@ HasContentGuard returns a boolean if a field has been set. `func (o *PythonPythonDistribution) UnsetContentGuard()` UnsetContentGuard ensures that no value is present for ContentGuard, not even an explicit nil +### GetHidden + +`func (o *PythonPythonDistribution) GetHidden() bool` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *PythonPythonDistribution) GetHiddenOk() (*bool, bool)` + +GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHidden + +`func (o *PythonPythonDistribution) SetHidden(v bool)` + +SetHidden sets Hidden field to given value. + +### HasHidden + +`func (o *PythonPythonDistribution) HasHidden() bool` + +HasHidden returns a boolean if a field has been set. + ### GetPulpLabels `func (o *PythonPythonDistribution) GetPulpLabels() map[string]string` diff --git a/release/docs/PythonPythonDistributionResponse.md b/release/docs/PythonPythonDistributionResponse.md index 6225c546..50a64e81 100644 --- a/release/docs/PythonPythonDistributionResponse.md +++ b/release/docs/PythonPythonDistributionResponse.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **BasePath** | **string** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | **BaseUrl** | Pointer to **string** | | [optional] [readonly] **ContentGuard** | Pointer to **NullableString** | An optional content-guard. | [optional] +**Hidden** | Pointer to **bool** | Whether this distribution should be shown in the content app. | [optional] [default to false] **PulpLabels** | Pointer to **map[string]string** | | [optional] **Name** | **string** | A unique name. Ex, `rawhide` and `stable`. | **Repository** | Pointer to **NullableString** | The latest RepositoryVersion for this Repository will be served. | [optional] @@ -165,6 +166,31 @@ HasContentGuard returns a boolean if a field has been set. `func (o *PythonPythonDistributionResponse) UnsetContentGuard()` UnsetContentGuard ensures that no value is present for ContentGuard, not even an explicit nil +### GetHidden + +`func (o *PythonPythonDistributionResponse) GetHidden() bool` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *PythonPythonDistributionResponse) GetHiddenOk() (*bool, bool)` + +GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHidden + +`func (o *PythonPythonDistributionResponse) SetHidden(v bool)` + +SetHidden sets Hidden field to given value. + +### HasHidden + +`func (o *PythonPythonDistributionResponse) HasHidden() bool` + +HasHidden returns a boolean if a field has been set. + ### GetPulpLabels `func (o *PythonPythonDistributionResponse) GetPulpLabels() map[string]string` diff --git a/release/docs/RemotesGitAPI.md b/release/docs/RemotesGitAPI.md index 4ad1f9dc..4459f4e8 100644 --- a/release/docs/RemotesGitAPI.md +++ b/release/docs/RemotesGitAPI.md @@ -110,7 +110,7 @@ import ( ) func main() { - ansibleGitRemote := *openapiclient.NewAnsibleGitRemote("Url_example", "Name_example") // AnsibleGitRemote | + ansibleGitRemote := *openapiclient.NewAnsibleGitRemote("Name_example", "Url_example") // AnsibleGitRemote | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -716,7 +716,7 @@ import ( func main() { ansibleGitRemoteHref := "ansibleGitRemoteHref_example" // string | - ansibleGitRemote := *openapiclient.NewAnsibleGitRemote("Url_example", "Name_example") // AnsibleGitRemote | + ansibleGitRemote := *openapiclient.NewAnsibleGitRemote("Name_example", "Url_example") // AnsibleGitRemote | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) diff --git a/release/docs/RpmRpmDistribution.md b/release/docs/RpmRpmDistribution.md index 35ef9ce9..83a840b2 100644 --- a/release/docs/RpmRpmDistribution.md +++ b/release/docs/RpmRpmDistribution.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **BasePath** | **string** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | **ContentGuard** | Pointer to **NullableString** | An optional content-guard. | [optional] +**Hidden** | Pointer to **bool** | Whether this distribution should be shown in the content app. | [optional] [default to false] **PulpLabels** | Pointer to **map[string]string** | | [optional] **Name** | **string** | A unique name. Ex, `rawhide` and `stable`. | **Repository** | Pointer to **NullableString** | The latest RepositoryVersion for this Repository will be served. | [optional] @@ -85,6 +86,31 @@ HasContentGuard returns a boolean if a field has been set. `func (o *RpmRpmDistribution) UnsetContentGuard()` UnsetContentGuard ensures that no value is present for ContentGuard, not even an explicit nil +### GetHidden + +`func (o *RpmRpmDistribution) GetHidden() bool` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *RpmRpmDistribution) GetHiddenOk() (*bool, bool)` + +GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHidden + +`func (o *RpmRpmDistribution) SetHidden(v bool)` + +SetHidden sets Hidden field to given value. + +### HasHidden + +`func (o *RpmRpmDistribution) HasHidden() bool` + +HasHidden returns a boolean if a field has been set. + ### GetPulpLabels `func (o *RpmRpmDistribution) GetPulpLabels() map[string]string` diff --git a/release/docs/RpmRpmDistributionResponse.md b/release/docs/RpmRpmDistributionResponse.md index 8504bf4a..3b576285 100644 --- a/release/docs/RpmRpmDistributionResponse.md +++ b/release/docs/RpmRpmDistributionResponse.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **BasePath** | **string** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | **BaseUrl** | Pointer to **string** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly] **ContentGuard** | Pointer to **NullableString** | An optional content-guard. | [optional] +**Hidden** | Pointer to **bool** | Whether this distribution should be shown in the content app. | [optional] [default to false] **PulpLabels** | Pointer to **map[string]string** | | [optional] **Name** | **string** | A unique name. Ex, `rawhide` and `stable`. | **Repository** | Pointer to **NullableString** | The latest RepositoryVersion for this Repository will be served. | [optional] @@ -163,6 +164,31 @@ HasContentGuard returns a boolean if a field has been set. `func (o *RpmRpmDistributionResponse) UnsetContentGuard()` UnsetContentGuard ensures that no value is present for ContentGuard, not even an explicit nil +### GetHidden + +`func (o *RpmRpmDistributionResponse) GetHidden() bool` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *RpmRpmDistributionResponse) GetHiddenOk() (*bool, bool)` + +GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHidden + +`func (o *RpmRpmDistributionResponse) SetHidden(v bool)` + +SetHidden sets Hidden field to given value. + +### HasHidden + +`func (o *RpmRpmDistributionResponse) HasHidden() bool` + +HasHidden returns a boolean if a field has been set. + ### GetPulpLabels `func (o *RpmRpmDistributionResponse) GetPulpLabels() map[string]string` diff --git a/release/docs/TaskResponse.md b/release/docs/TaskResponse.md index 6c697745..cf6fd81d 100644 --- a/release/docs/TaskResponse.md +++ b/release/docs/TaskResponse.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **State** | Pointer to **string** | The current state of the task. The possible values include: 'waiting', 'skipped', 'running', 'completed', 'failed', 'canceled' and 'canceling'. | [optional] [readonly] **Name** | **string** | The name of task. | **LoggingCid** | **string** | The logging correlation id associated with this task | +**CreatedBy** | Pointer to **string** | User who dispatched this task. | [optional] [readonly] **StartedAt** | Pointer to **time.Time** | Timestamp of the when this task started execution. | [optional] [readonly] **FinishedAt** | Pointer to **time.Time** | Timestamp of the when this task stopped execution. | [optional] [readonly] **Error** | Pointer to **map[string]map[string]interface{}** | A JSON Object of a fatal error encountered during the execution of this task. | [optional] [readonly] @@ -154,6 +155,31 @@ and a boolean to check if the value has been set. SetLoggingCid sets LoggingCid field to given value. +### GetCreatedBy + +`func (o *TaskResponse) GetCreatedBy() string` + +GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise. + +### GetCreatedByOk + +`func (o *TaskResponse) GetCreatedByOk() (*string, bool)` + +GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCreatedBy + +`func (o *TaskResponse) SetCreatedBy(v string)` + +SetCreatedBy sets CreatedBy field to given value. + +### HasCreatedBy + +`func (o *TaskResponse) HasCreatedBy() bool` + +HasCreatedBy returns a boolean if a field has been set. + ### GetStartedAt `func (o *TaskResponse) GetStartedAt() time.Time` diff --git a/release/go.mod b/release/go.mod index d9986ef8..059bc0b9 100755 --- a/release/go.mod +++ b/release/go.mod @@ -5,6 +5,6 @@ go 1.18 require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/stretchr/testify v1.8.3 // indirect + github.com/stretchr/testify v1.8.4 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/release/go.sum b/release/go.sum index 810b5164..de9d295b 100755 --- a/release/go.sum +++ b/release/go.sum @@ -5,8 +5,8 @@ github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY= -github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= diff --git a/release/model_ansible_collection_version.go b/release/model_ansible_collection_version.go index 39c09950..886d4897 100644 --- a/release/model_ansible_collection_version.go +++ b/release/model_ansible_collection_version.go @@ -21,12 +21,12 @@ var _ MappedNullable = &AnsibleCollectionVersion{} // AnsibleCollectionVersion A serializer for CollectionVersion Content. type AnsibleCollectionVersion struct { - // Artifact file representing the physical content - Artifact *string `json:"artifact,omitempty"` - // An uploaded file that may be turned into the artifact of the content unit. - File **os.File `json:"file,omitempty"` // A URI of a repository the new content unit should be associated with. Repository *string `json:"repository,omitempty"` + // An uploaded file that may be turned into the artifact of the content unit. + File **os.File `json:"file,omitempty"` + // Artifact file representing the physical content + Artifact *string `json:"artifact,omitempty"` // An uncommitted upload that may be turned into the artifact of the content unit. Upload *string `json:"upload,omitempty"` // The name of the collection. @@ -54,36 +54,36 @@ func NewAnsibleCollectionVersionWithDefaults() *AnsibleCollectionVersion { return &this } -// GetArtifact returns the Artifact field value if set, zero value otherwise. -func (o *AnsibleCollectionVersion) GetArtifact() string { - if o == nil || IsNil(o.Artifact) { +// GetRepository returns the Repository field value if set, zero value otherwise. +func (o *AnsibleCollectionVersion) GetRepository() string { + if o == nil || IsNil(o.Repository) { var ret string return ret } - return *o.Artifact + return *o.Repository } -// GetArtifactOk returns a tuple with the Artifact field value if set, nil otherwise +// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *AnsibleCollectionVersion) GetArtifactOk() (*string, bool) { - if o == nil || IsNil(o.Artifact) { +func (o *AnsibleCollectionVersion) GetRepositoryOk() (*string, bool) { + if o == nil || IsNil(o.Repository) { return nil, false } - return o.Artifact, true + return o.Repository, true } -// HasArtifact returns a boolean if a field has been set. -func (o *AnsibleCollectionVersion) HasArtifact() bool { - if o != nil && !IsNil(o.Artifact) { +// HasRepository returns a boolean if a field has been set. +func (o *AnsibleCollectionVersion) HasRepository() bool { + if o != nil && !IsNil(o.Repository) { return true } return false } -// SetArtifact gets a reference to the given string and assigns it to the Artifact field. -func (o *AnsibleCollectionVersion) SetArtifact(v string) { - o.Artifact = &v +// SetRepository gets a reference to the given string and assigns it to the Repository field. +func (o *AnsibleCollectionVersion) SetRepository(v string) { + o.Repository = &v } // GetFile returns the File field value if set, zero value otherwise. @@ -118,36 +118,36 @@ func (o *AnsibleCollectionVersion) SetFile(v *os.File) { o.File = &v } -// GetRepository returns the Repository field value if set, zero value otherwise. -func (o *AnsibleCollectionVersion) GetRepository() string { - if o == nil || IsNil(o.Repository) { +// GetArtifact returns the Artifact field value if set, zero value otherwise. +func (o *AnsibleCollectionVersion) GetArtifact() string { + if o == nil || IsNil(o.Artifact) { var ret string return ret } - return *o.Repository + return *o.Artifact } -// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise +// GetArtifactOk returns a tuple with the Artifact field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *AnsibleCollectionVersion) GetRepositoryOk() (*string, bool) { - if o == nil || IsNil(o.Repository) { +func (o *AnsibleCollectionVersion) GetArtifactOk() (*string, bool) { + if o == nil || IsNil(o.Artifact) { return nil, false } - return o.Repository, true + return o.Artifact, true } -// HasRepository returns a boolean if a field has been set. -func (o *AnsibleCollectionVersion) HasRepository() bool { - if o != nil && !IsNil(o.Repository) { +// HasArtifact returns a boolean if a field has been set. +func (o *AnsibleCollectionVersion) HasArtifact() bool { + if o != nil && !IsNil(o.Artifact) { return true } return false } -// SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *AnsibleCollectionVersion) SetRepository(v string) { - o.Repository = &v +// SetArtifact gets a reference to the given string and assigns it to the Artifact field. +func (o *AnsibleCollectionVersion) SetArtifact(v string) { + o.Artifact = &v } // GetUpload returns the Upload field value if set, zero value otherwise. @@ -288,14 +288,14 @@ func (o AnsibleCollectionVersion) MarshalJSON() ([]byte, error) { func (o AnsibleCollectionVersion) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - if !IsNil(o.Artifact) { - toSerialize["artifact"] = o.Artifact + if !IsNil(o.Repository) { + toSerialize["repository"] = o.Repository } if !IsNil(o.File) { toSerialize["file"] = o.File } - if !IsNil(o.Repository) { - toSerialize["repository"] = o.Repository + if !IsNil(o.Artifact) { + toSerialize["artifact"] = o.Artifact } if !IsNil(o.Upload) { toSerialize["upload"] = o.Upload diff --git a/release/model_ansible_collection_version_response.go b/release/model_ansible_collection_version_response.go index 65e45aba..8bd8880c 100644 --- a/release/model_ansible_collection_version_response.go +++ b/release/model_ansible_collection_version_response.go @@ -21,11 +21,11 @@ var _ MappedNullable = &AnsibleCollectionVersionResponse{} // AnsibleCollectionVersionResponse A serializer for CollectionVersion Content. type AnsibleCollectionVersionResponse struct { - // Timestamp of creation. - PulpCreated *time.Time `json:"pulp_created,omitempty"` // Artifact file representing the physical content Artifact *string `json:"artifact,omitempty"` PulpHref *string `json:"pulp_href,omitempty"` + // Timestamp of creation. + PulpCreated *time.Time `json:"pulp_created,omitempty"` // The SHA-256 checksum if available. Sha256 *string `json:"sha256,omitempty"` // The MD5 checksum if available. @@ -92,38 +92,6 @@ func NewAnsibleCollectionVersionResponseWithDefaults() *AnsibleCollectionVersion return &this } -// GetPulpCreated returns the PulpCreated field value if set, zero value otherwise. -func (o *AnsibleCollectionVersionResponse) GetPulpCreated() time.Time { - if o == nil || IsNil(o.PulpCreated) { - var ret time.Time - return ret - } - return *o.PulpCreated -} - -// GetPulpCreatedOk returns a tuple with the PulpCreated field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AnsibleCollectionVersionResponse) GetPulpCreatedOk() (*time.Time, bool) { - if o == nil || IsNil(o.PulpCreated) { - return nil, false - } - return o.PulpCreated, true -} - -// HasPulpCreated returns a boolean if a field has been set. -func (o *AnsibleCollectionVersionResponse) HasPulpCreated() bool { - if o != nil && !IsNil(o.PulpCreated) { - return true - } - - return false -} - -// SetPulpCreated gets a reference to the given time.Time and assigns it to the PulpCreated field. -func (o *AnsibleCollectionVersionResponse) SetPulpCreated(v time.Time) { - o.PulpCreated = &v -} - // GetArtifact returns the Artifact field value if set, zero value otherwise. func (o *AnsibleCollectionVersionResponse) GetArtifact() string { if o == nil || IsNil(o.Artifact) { @@ -188,6 +156,38 @@ func (o *AnsibleCollectionVersionResponse) SetPulpHref(v string) { o.PulpHref = &v } +// GetPulpCreated returns the PulpCreated field value if set, zero value otherwise. +func (o *AnsibleCollectionVersionResponse) GetPulpCreated() time.Time { + if o == nil || IsNil(o.PulpCreated) { + var ret time.Time + return ret + } + return *o.PulpCreated +} + +// GetPulpCreatedOk returns a tuple with the PulpCreated field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AnsibleCollectionVersionResponse) GetPulpCreatedOk() (*time.Time, bool) { + if o == nil || IsNil(o.PulpCreated) { + return nil, false + } + return o.PulpCreated, true +} + +// HasPulpCreated returns a boolean if a field has been set. +func (o *AnsibleCollectionVersionResponse) HasPulpCreated() bool { + if o != nil && !IsNil(o.PulpCreated) { + return true + } + + return false +} + +// SetPulpCreated gets a reference to the given time.Time and assigns it to the PulpCreated field. +func (o *AnsibleCollectionVersionResponse) SetPulpCreated(v time.Time) { + o.PulpCreated = &v +} + // GetSha256 returns the Sha256 field value if set, zero value otherwise. func (o *AnsibleCollectionVersionResponse) GetSha256() string { if o == nil || IsNil(o.Sha256) { @@ -976,11 +976,11 @@ func (o AnsibleCollectionVersionResponse) MarshalJSON() ([]byte, error) { func (o AnsibleCollectionVersionResponse) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - // skip: pulp_created is readOnly if !IsNil(o.Artifact) { toSerialize["artifact"] = o.Artifact } // skip: pulp_href is readOnly + // skip: pulp_created is readOnly // skip: sha256 is readOnly // skip: md5 is readOnly // skip: sha1 is readOnly diff --git a/release/model_ansible_git_remote.go b/release/model_ansible_git_remote.go index c755b1d7..ca03ed37 100644 --- a/release/model_ansible_git_remote.go +++ b/release/model_ansible_git_remote.go @@ -20,45 +20,45 @@ var _ MappedNullable = &AnsibleGitRemote{} // AnsibleGitRemote A serializer for Git Collection Remotes. type AnsibleGitRemote struct { + PulpLabels *map[string]string `json:"pulp_labels,omitempty"` // Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. MaxRetries NullableInt64 `json:"max_retries,omitempty"` - // The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. - ProxyPassword NullableString `json:"proxy_password,omitempty"` - // A PEM encoded client certificate used for authentication. - ClientCert NullableString `json:"client_cert,omitempty"` - PulpLabels *map[string]string `json:"pulp_labels,omitempty"` - // aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. - TotalTimeout NullableFloat64 `json:"total_timeout,omitempty"` - // The URL of an external content source. - Url string `json:"url"` - // If True, TLS peer validation must be performed. - TlsValidation *bool `json:"tls_validation,omitempty"` // The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. Password NullableString `json:"password,omitempty"` - // 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. - SockConnectTimeout NullableFloat64 `json:"sock_connect_timeout,omitempty"` + // A PEM encoded CA certificate used to validate the server certificate presented by the remote server. + CaCert NullableString `json:"ca_cert,omitempty"` + // 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. + SockReadTimeout NullableFloat64 `json:"sock_read_timeout,omitempty"` + // aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. + TotalTimeout NullableFloat64 `json:"total_timeout,omitempty"` // Total number of simultaneous connections. If not set then the default value will be used. DownloadConcurrency NullableInt64 `json:"download_concurrency,omitempty"` - // A unique name for this remote. - Name string `json:"name"` - // aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. - ConnectTimeout NullableFloat64 `json:"connect_timeout,omitempty"` + // The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. + ProxyPassword NullableString `json:"proxy_password,omitempty"` + // The username to authenticte to the proxy. + ProxyUsername NullableString `json:"proxy_username,omitempty"` + // 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. + SockConnectTimeout NullableFloat64 `json:"sock_connect_timeout,omitempty"` + // If True, TLS peer validation must be performed. + TlsValidation *bool `json:"tls_validation,omitempty"` // Headers for aiohttp.Clientsession Headers []map[string]interface{} `json:"headers,omitempty"` + // A PEM encoded private key used for authentication. + ClientKey NullableString `json:"client_key,omitempty"` + // aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. + ConnectTimeout NullableFloat64 `json:"connect_timeout,omitempty"` // The proxy URL. Format: scheme://host:port ProxyUrl NullableString `json:"proxy_url,omitempty"` // Limits requests per second for each concurrent downloader RateLimit NullableInt64 `json:"rate_limit,omitempty"` - // A PEM encoded CA certificate used to validate the server certificate presented by the remote server. - CaCert NullableString `json:"ca_cert,omitempty"` - // 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. - SockReadTimeout NullableFloat64 `json:"sock_read_timeout,omitempty"` - // The username to authenticte to the proxy. - ProxyUsername NullableString `json:"proxy_username,omitempty"` + // A unique name for this remote. + Name string `json:"name"` // The username to be used for authentication when syncing. Username NullableString `json:"username,omitempty"` - // A PEM encoded private key used for authentication. - ClientKey NullableString `json:"client_key,omitempty"` + // A PEM encoded client certificate used for authentication. + ClientCert NullableString `json:"client_cert,omitempty"` + // The URL of an external content source. + Url string `json:"url"` // If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. MetadataOnly *bool `json:"metadata_only,omitempty"` // A git ref. e.g.: branch, tag, or commit sha. @@ -69,10 +69,10 @@ type AnsibleGitRemote struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewAnsibleGitRemote(url string, name string) *AnsibleGitRemote { +func NewAnsibleGitRemote(name string, url string) *AnsibleGitRemote { this := AnsibleGitRemote{} - this.Url = url this.Name = name + this.Url = url return &this } @@ -84,6 +84,38 @@ func NewAnsibleGitRemoteWithDefaults() *AnsibleGitRemote { return &this } +// GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. +func (o *AnsibleGitRemote) GetPulpLabels() map[string]string { + if o == nil || IsNil(o.PulpLabels) { + var ret map[string]string + return ret + } + return *o.PulpLabels +} + +// GetPulpLabelsOk returns a tuple with the PulpLabels field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AnsibleGitRemote) GetPulpLabelsOk() (*map[string]string, bool) { + if o == nil || IsNil(o.PulpLabels) { + return nil, false + } + return o.PulpLabels, true +} + +// HasPulpLabels returns a boolean if a field has been set. +func (o *AnsibleGitRemote) HasPulpLabels() bool { + if o != nil && !IsNil(o.PulpLabels) { + return true + } + + return false +} + +// SetPulpLabels gets a reference to the given map[string]string and assigns it to the PulpLabels field. +func (o *AnsibleGitRemote) SetPulpLabels(v map[string]string) { + o.PulpLabels = &v +} + // GetMaxRetries returns the MaxRetries field value if set, zero value otherwise (both if not set or set to explicit null). func (o *AnsibleGitRemote) GetMaxRetries() int64 { if o == nil || IsNil(o.MaxRetries.Get()) { @@ -126,120 +158,130 @@ func (o *AnsibleGitRemote) UnsetMaxRetries() { o.MaxRetries.Unset() } -// GetProxyPassword returns the ProxyPassword field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *AnsibleGitRemote) GetProxyPassword() string { - if o == nil || IsNil(o.ProxyPassword.Get()) { +// GetPassword returns the Password field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AnsibleGitRemote) GetPassword() string { + if o == nil || IsNil(o.Password.Get()) { var ret string return ret } - return *o.ProxyPassword.Get() + return *o.Password.Get() } -// GetProxyPasswordOk returns a tuple with the ProxyPassword field value if set, nil otherwise +// GetPasswordOk returns a tuple with the Password field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *AnsibleGitRemote) GetProxyPasswordOk() (*string, bool) { +func (o *AnsibleGitRemote) GetPasswordOk() (*string, bool) { if o == nil { return nil, false } - return o.ProxyPassword.Get(), o.ProxyPassword.IsSet() + return o.Password.Get(), o.Password.IsSet() } -// HasProxyPassword returns a boolean if a field has been set. -func (o *AnsibleGitRemote) HasProxyPassword() bool { - if o != nil && o.ProxyPassword.IsSet() { +// HasPassword returns a boolean if a field has been set. +func (o *AnsibleGitRemote) HasPassword() bool { + if o != nil && o.Password.IsSet() { return true } return false } -// SetProxyPassword gets a reference to the given NullableString and assigns it to the ProxyPassword field. -func (o *AnsibleGitRemote) SetProxyPassword(v string) { - o.ProxyPassword.Set(&v) +// SetPassword gets a reference to the given NullableString and assigns it to the Password field. +func (o *AnsibleGitRemote) SetPassword(v string) { + o.Password.Set(&v) } -// SetProxyPasswordNil sets the value for ProxyPassword to be an explicit nil -func (o *AnsibleGitRemote) SetProxyPasswordNil() { - o.ProxyPassword.Set(nil) +// SetPasswordNil sets the value for Password to be an explicit nil +func (o *AnsibleGitRemote) SetPasswordNil() { + o.Password.Set(nil) } -// UnsetProxyPassword ensures that no value is present for ProxyPassword, not even an explicit nil -func (o *AnsibleGitRemote) UnsetProxyPassword() { - o.ProxyPassword.Unset() +// UnsetPassword ensures that no value is present for Password, not even an explicit nil +func (o *AnsibleGitRemote) UnsetPassword() { + o.Password.Unset() } -// GetClientCert returns the ClientCert field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *AnsibleGitRemote) GetClientCert() string { - if o == nil || IsNil(o.ClientCert.Get()) { +// GetCaCert returns the CaCert field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AnsibleGitRemote) GetCaCert() string { + if o == nil || IsNil(o.CaCert.Get()) { var ret string return ret } - return *o.ClientCert.Get() + return *o.CaCert.Get() } -// GetClientCertOk returns a tuple with the ClientCert field value if set, nil otherwise +// GetCaCertOk returns a tuple with the CaCert field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *AnsibleGitRemote) GetClientCertOk() (*string, bool) { +func (o *AnsibleGitRemote) GetCaCertOk() (*string, bool) { if o == nil { return nil, false } - return o.ClientCert.Get(), o.ClientCert.IsSet() + return o.CaCert.Get(), o.CaCert.IsSet() } -// HasClientCert returns a boolean if a field has been set. -func (o *AnsibleGitRemote) HasClientCert() bool { - if o != nil && o.ClientCert.IsSet() { +// HasCaCert returns a boolean if a field has been set. +func (o *AnsibleGitRemote) HasCaCert() bool { + if o != nil && o.CaCert.IsSet() { return true } return false } -// SetClientCert gets a reference to the given NullableString and assigns it to the ClientCert field. -func (o *AnsibleGitRemote) SetClientCert(v string) { - o.ClientCert.Set(&v) +// SetCaCert gets a reference to the given NullableString and assigns it to the CaCert field. +func (o *AnsibleGitRemote) SetCaCert(v string) { + o.CaCert.Set(&v) } -// SetClientCertNil sets the value for ClientCert to be an explicit nil -func (o *AnsibleGitRemote) SetClientCertNil() { - o.ClientCert.Set(nil) +// SetCaCertNil sets the value for CaCert to be an explicit nil +func (o *AnsibleGitRemote) SetCaCertNil() { + o.CaCert.Set(nil) } -// UnsetClientCert ensures that no value is present for ClientCert, not even an explicit nil -func (o *AnsibleGitRemote) UnsetClientCert() { - o.ClientCert.Unset() +// UnsetCaCert ensures that no value is present for CaCert, not even an explicit nil +func (o *AnsibleGitRemote) UnsetCaCert() { + o.CaCert.Unset() } -// GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. -func (o *AnsibleGitRemote) GetPulpLabels() map[string]string { - if o == nil || IsNil(o.PulpLabels) { - var ret map[string]string +// GetSockReadTimeout returns the SockReadTimeout field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AnsibleGitRemote) GetSockReadTimeout() float64 { + if o == nil || IsNil(o.SockReadTimeout.Get()) { + var ret float64 return ret } - return *o.PulpLabels + return *o.SockReadTimeout.Get() } -// GetPulpLabelsOk returns a tuple with the PulpLabels field value if set, nil otherwise +// GetSockReadTimeoutOk returns a tuple with the SockReadTimeout field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *AnsibleGitRemote) GetPulpLabelsOk() (*map[string]string, bool) { - if o == nil || IsNil(o.PulpLabels) { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AnsibleGitRemote) GetSockReadTimeoutOk() (*float64, bool) { + if o == nil { return nil, false } - return o.PulpLabels, true + return o.SockReadTimeout.Get(), o.SockReadTimeout.IsSet() } -// HasPulpLabels returns a boolean if a field has been set. -func (o *AnsibleGitRemote) HasPulpLabels() bool { - if o != nil && !IsNil(o.PulpLabels) { +// HasSockReadTimeout returns a boolean if a field has been set. +func (o *AnsibleGitRemote) HasSockReadTimeout() bool { + if o != nil && o.SockReadTimeout.IsSet() { return true } return false } -// SetPulpLabels gets a reference to the given map[string]string and assigns it to the PulpLabels field. -func (o *AnsibleGitRemote) SetPulpLabels(v map[string]string) { - o.PulpLabels = &v +// SetSockReadTimeout gets a reference to the given NullableFloat64 and assigns it to the SockReadTimeout field. +func (o *AnsibleGitRemote) SetSockReadTimeout(v float64) { + o.SockReadTimeout.Set(&v) +} +// SetSockReadTimeoutNil sets the value for SockReadTimeout to be an explicit nil +func (o *AnsibleGitRemote) SetSockReadTimeoutNil() { + o.SockReadTimeout.Set(nil) +} + +// UnsetSockReadTimeout ensures that no value is present for SockReadTimeout, not even an explicit nil +func (o *AnsibleGitRemote) UnsetSockReadTimeout() { + o.SockReadTimeout.Unset() } // GetTotalTimeout returns the TotalTimeout field value if set, zero value otherwise (both if not set or set to explicit null). @@ -284,102 +326,130 @@ func (o *AnsibleGitRemote) UnsetTotalTimeout() { o.TotalTimeout.Unset() } -// GetUrl returns the Url field value -func (o *AnsibleGitRemote) GetUrl() string { - if o == nil { - var ret string +// GetDownloadConcurrency returns the DownloadConcurrency field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AnsibleGitRemote) GetDownloadConcurrency() int64 { + if o == nil || IsNil(o.DownloadConcurrency.Get()) { + var ret int64 return ret } - - return o.Url + return *o.DownloadConcurrency.Get() } -// GetUrlOk returns a tuple with the Url field value +// GetDownloadConcurrencyOk returns a tuple with the DownloadConcurrency field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *AnsibleGitRemote) GetUrlOk() (*string, bool) { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AnsibleGitRemote) GetDownloadConcurrencyOk() (*int64, bool) { if o == nil { return nil, false } - return &o.Url, true + return o.DownloadConcurrency.Get(), o.DownloadConcurrency.IsSet() } -// SetUrl sets field value -func (o *AnsibleGitRemote) SetUrl(v string) { - o.Url = v +// HasDownloadConcurrency returns a boolean if a field has been set. +func (o *AnsibleGitRemote) HasDownloadConcurrency() bool { + if o != nil && o.DownloadConcurrency.IsSet() { + return true + } + + return false } -// GetTlsValidation returns the TlsValidation field value if set, zero value otherwise. -func (o *AnsibleGitRemote) GetTlsValidation() bool { - if o == nil || IsNil(o.TlsValidation) { - var ret bool +// SetDownloadConcurrency gets a reference to the given NullableInt64 and assigns it to the DownloadConcurrency field. +func (o *AnsibleGitRemote) SetDownloadConcurrency(v int64) { + o.DownloadConcurrency.Set(&v) +} +// SetDownloadConcurrencyNil sets the value for DownloadConcurrency to be an explicit nil +func (o *AnsibleGitRemote) SetDownloadConcurrencyNil() { + o.DownloadConcurrency.Set(nil) +} + +// UnsetDownloadConcurrency ensures that no value is present for DownloadConcurrency, not even an explicit nil +func (o *AnsibleGitRemote) UnsetDownloadConcurrency() { + o.DownloadConcurrency.Unset() +} + +// GetProxyPassword returns the ProxyPassword field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AnsibleGitRemote) GetProxyPassword() string { + if o == nil || IsNil(o.ProxyPassword.Get()) { + var ret string return ret } - return *o.TlsValidation + return *o.ProxyPassword.Get() } -// GetTlsValidationOk returns a tuple with the TlsValidation field value if set, nil otherwise +// GetProxyPasswordOk returns a tuple with the ProxyPassword field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *AnsibleGitRemote) GetTlsValidationOk() (*bool, bool) { - if o == nil || IsNil(o.TlsValidation) { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AnsibleGitRemote) GetProxyPasswordOk() (*string, bool) { + if o == nil { return nil, false } - return o.TlsValidation, true + return o.ProxyPassword.Get(), o.ProxyPassword.IsSet() } -// HasTlsValidation returns a boolean if a field has been set. -func (o *AnsibleGitRemote) HasTlsValidation() bool { - if o != nil && !IsNil(o.TlsValidation) { +// HasProxyPassword returns a boolean if a field has been set. +func (o *AnsibleGitRemote) HasProxyPassword() bool { + if o != nil && o.ProxyPassword.IsSet() { return true } return false } -// SetTlsValidation gets a reference to the given bool and assigns it to the TlsValidation field. -func (o *AnsibleGitRemote) SetTlsValidation(v bool) { - o.TlsValidation = &v +// SetProxyPassword gets a reference to the given NullableString and assigns it to the ProxyPassword field. +func (o *AnsibleGitRemote) SetProxyPassword(v string) { + o.ProxyPassword.Set(&v) +} +// SetProxyPasswordNil sets the value for ProxyPassword to be an explicit nil +func (o *AnsibleGitRemote) SetProxyPasswordNil() { + o.ProxyPassword.Set(nil) } -// GetPassword returns the Password field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *AnsibleGitRemote) GetPassword() string { - if o == nil || IsNil(o.Password.Get()) { +// UnsetProxyPassword ensures that no value is present for ProxyPassword, not even an explicit nil +func (o *AnsibleGitRemote) UnsetProxyPassword() { + o.ProxyPassword.Unset() +} + +// GetProxyUsername returns the ProxyUsername field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AnsibleGitRemote) GetProxyUsername() string { + if o == nil || IsNil(o.ProxyUsername.Get()) { var ret string return ret } - return *o.Password.Get() + return *o.ProxyUsername.Get() } -// GetPasswordOk returns a tuple with the Password field value if set, nil otherwise +// GetProxyUsernameOk returns a tuple with the ProxyUsername field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *AnsibleGitRemote) GetPasswordOk() (*string, bool) { +func (o *AnsibleGitRemote) GetProxyUsernameOk() (*string, bool) { if o == nil { return nil, false } - return o.Password.Get(), o.Password.IsSet() + return o.ProxyUsername.Get(), o.ProxyUsername.IsSet() } -// HasPassword returns a boolean if a field has been set. -func (o *AnsibleGitRemote) HasPassword() bool { - if o != nil && o.Password.IsSet() { +// HasProxyUsername returns a boolean if a field has been set. +func (o *AnsibleGitRemote) HasProxyUsername() bool { + if o != nil && o.ProxyUsername.IsSet() { return true } return false } -// SetPassword gets a reference to the given NullableString and assigns it to the Password field. -func (o *AnsibleGitRemote) SetPassword(v string) { - o.Password.Set(&v) +// SetProxyUsername gets a reference to the given NullableString and assigns it to the ProxyUsername field. +func (o *AnsibleGitRemote) SetProxyUsername(v string) { + o.ProxyUsername.Set(&v) } -// SetPasswordNil sets the value for Password to be an explicit nil -func (o *AnsibleGitRemote) SetPasswordNil() { - o.Password.Set(nil) +// SetProxyUsernameNil sets the value for ProxyUsername to be an explicit nil +func (o *AnsibleGitRemote) SetProxyUsernameNil() { + o.ProxyUsername.Set(nil) } -// UnsetPassword ensures that no value is present for Password, not even an explicit nil -func (o *AnsibleGitRemote) UnsetPassword() { - o.Password.Unset() +// UnsetProxyUsername ensures that no value is present for ProxyUsername, not even an explicit nil +func (o *AnsibleGitRemote) UnsetProxyUsername() { + o.ProxyUsername.Unset() } // GetSockConnectTimeout returns the SockConnectTimeout field value if set, zero value otherwise (both if not set or set to explicit null). @@ -424,144 +494,152 @@ func (o *AnsibleGitRemote) UnsetSockConnectTimeout() { o.SockConnectTimeout.Unset() } -// GetDownloadConcurrency returns the DownloadConcurrency field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *AnsibleGitRemote) GetDownloadConcurrency() int64 { - if o == nil || IsNil(o.DownloadConcurrency.Get()) { - var ret int64 +// GetTlsValidation returns the TlsValidation field value if set, zero value otherwise. +func (o *AnsibleGitRemote) GetTlsValidation() bool { + if o == nil || IsNil(o.TlsValidation) { + var ret bool return ret } - return *o.DownloadConcurrency.Get() + return *o.TlsValidation } -// GetDownloadConcurrencyOk returns a tuple with the DownloadConcurrency field value if set, nil otherwise +// GetTlsValidationOk returns a tuple with the TlsValidation field value if set, nil otherwise // and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *AnsibleGitRemote) GetDownloadConcurrencyOk() (*int64, bool) { - if o == nil { +func (o *AnsibleGitRemote) GetTlsValidationOk() (*bool, bool) { + if o == nil || IsNil(o.TlsValidation) { return nil, false } - return o.DownloadConcurrency.Get(), o.DownloadConcurrency.IsSet() + return o.TlsValidation, true } -// HasDownloadConcurrency returns a boolean if a field has been set. -func (o *AnsibleGitRemote) HasDownloadConcurrency() bool { - if o != nil && o.DownloadConcurrency.IsSet() { +// HasTlsValidation returns a boolean if a field has been set. +func (o *AnsibleGitRemote) HasTlsValidation() bool { + if o != nil && !IsNil(o.TlsValidation) { return true } return false } -// SetDownloadConcurrency gets a reference to the given NullableInt64 and assigns it to the DownloadConcurrency field. -func (o *AnsibleGitRemote) SetDownloadConcurrency(v int64) { - o.DownloadConcurrency.Set(&v) -} -// SetDownloadConcurrencyNil sets the value for DownloadConcurrency to be an explicit nil -func (o *AnsibleGitRemote) SetDownloadConcurrencyNil() { - o.DownloadConcurrency.Set(nil) -} - -// UnsetDownloadConcurrency ensures that no value is present for DownloadConcurrency, not even an explicit nil -func (o *AnsibleGitRemote) UnsetDownloadConcurrency() { - o.DownloadConcurrency.Unset() +// SetTlsValidation gets a reference to the given bool and assigns it to the TlsValidation field. +func (o *AnsibleGitRemote) SetTlsValidation(v bool) { + o.TlsValidation = &v } -// GetName returns the Name field value -func (o *AnsibleGitRemote) GetName() string { - if o == nil { - var ret string +// GetHeaders returns the Headers field value if set, zero value otherwise. +func (o *AnsibleGitRemote) GetHeaders() []map[string]interface{} { + if o == nil || IsNil(o.Headers) { + var ret []map[string]interface{} return ret } - - return o.Name + return o.Headers } -// GetNameOk returns a tuple with the Name field value +// GetHeadersOk returns a tuple with the Headers field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *AnsibleGitRemote) GetNameOk() (*string, bool) { - if o == nil { +func (o *AnsibleGitRemote) GetHeadersOk() ([]map[string]interface{}, bool) { + if o == nil || IsNil(o.Headers) { return nil, false } - return &o.Name, true + return o.Headers, true } -// SetName sets field value -func (o *AnsibleGitRemote) SetName(v string) { - o.Name = v +// HasHeaders returns a boolean if a field has been set. +func (o *AnsibleGitRemote) HasHeaders() bool { + if o != nil && !IsNil(o.Headers) { + return true + } + + return false } -// GetConnectTimeout returns the ConnectTimeout field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *AnsibleGitRemote) GetConnectTimeout() float64 { - if o == nil || IsNil(o.ConnectTimeout.Get()) { - var ret float64 +// SetHeaders gets a reference to the given []map[string]interface{} and assigns it to the Headers field. +func (o *AnsibleGitRemote) SetHeaders(v []map[string]interface{}) { + o.Headers = v +} + +// GetClientKey returns the ClientKey field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AnsibleGitRemote) GetClientKey() string { + if o == nil || IsNil(o.ClientKey.Get()) { + var ret string return ret } - return *o.ConnectTimeout.Get() + return *o.ClientKey.Get() } -// GetConnectTimeoutOk returns a tuple with the ConnectTimeout field value if set, nil otherwise +// GetClientKeyOk returns a tuple with the ClientKey field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *AnsibleGitRemote) GetConnectTimeoutOk() (*float64, bool) { +func (o *AnsibleGitRemote) GetClientKeyOk() (*string, bool) { if o == nil { return nil, false } - return o.ConnectTimeout.Get(), o.ConnectTimeout.IsSet() + return o.ClientKey.Get(), o.ClientKey.IsSet() } -// HasConnectTimeout returns a boolean if a field has been set. -func (o *AnsibleGitRemote) HasConnectTimeout() bool { - if o != nil && o.ConnectTimeout.IsSet() { +// HasClientKey returns a boolean if a field has been set. +func (o *AnsibleGitRemote) HasClientKey() bool { + if o != nil && o.ClientKey.IsSet() { return true } return false } -// SetConnectTimeout gets a reference to the given NullableFloat64 and assigns it to the ConnectTimeout field. -func (o *AnsibleGitRemote) SetConnectTimeout(v float64) { - o.ConnectTimeout.Set(&v) +// SetClientKey gets a reference to the given NullableString and assigns it to the ClientKey field. +func (o *AnsibleGitRemote) SetClientKey(v string) { + o.ClientKey.Set(&v) } -// SetConnectTimeoutNil sets the value for ConnectTimeout to be an explicit nil -func (o *AnsibleGitRemote) SetConnectTimeoutNil() { - o.ConnectTimeout.Set(nil) +// SetClientKeyNil sets the value for ClientKey to be an explicit nil +func (o *AnsibleGitRemote) SetClientKeyNil() { + o.ClientKey.Set(nil) } -// UnsetConnectTimeout ensures that no value is present for ConnectTimeout, not even an explicit nil -func (o *AnsibleGitRemote) UnsetConnectTimeout() { - o.ConnectTimeout.Unset() +// UnsetClientKey ensures that no value is present for ClientKey, not even an explicit nil +func (o *AnsibleGitRemote) UnsetClientKey() { + o.ClientKey.Unset() } -// GetHeaders returns the Headers field value if set, zero value otherwise. -func (o *AnsibleGitRemote) GetHeaders() []map[string]interface{} { - if o == nil || IsNil(o.Headers) { - var ret []map[string]interface{} +// GetConnectTimeout returns the ConnectTimeout field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AnsibleGitRemote) GetConnectTimeout() float64 { + if o == nil || IsNil(o.ConnectTimeout.Get()) { + var ret float64 return ret } - return o.Headers + return *o.ConnectTimeout.Get() } -// GetHeadersOk returns a tuple with the Headers field value if set, nil otherwise +// GetConnectTimeoutOk returns a tuple with the ConnectTimeout field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *AnsibleGitRemote) GetHeadersOk() ([]map[string]interface{}, bool) { - if o == nil || IsNil(o.Headers) { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AnsibleGitRemote) GetConnectTimeoutOk() (*float64, bool) { + if o == nil { return nil, false } - return o.Headers, true + return o.ConnectTimeout.Get(), o.ConnectTimeout.IsSet() } -// HasHeaders returns a boolean if a field has been set. -func (o *AnsibleGitRemote) HasHeaders() bool { - if o != nil && !IsNil(o.Headers) { +// HasConnectTimeout returns a boolean if a field has been set. +func (o *AnsibleGitRemote) HasConnectTimeout() bool { + if o != nil && o.ConnectTimeout.IsSet() { return true } return false } -// SetHeaders gets a reference to the given []map[string]interface{} and assigns it to the Headers field. -func (o *AnsibleGitRemote) SetHeaders(v []map[string]interface{}) { - o.Headers = v +// SetConnectTimeout gets a reference to the given NullableFloat64 and assigns it to the ConnectTimeout field. +func (o *AnsibleGitRemote) SetConnectTimeout(v float64) { + o.ConnectTimeout.Set(&v) +} +// SetConnectTimeoutNil sets the value for ConnectTimeout to be an explicit nil +func (o *AnsibleGitRemote) SetConnectTimeoutNil() { + o.ConnectTimeout.Set(nil) +} + +// UnsetConnectTimeout ensures that no value is present for ConnectTimeout, not even an explicit nil +func (o *AnsibleGitRemote) UnsetConnectTimeout() { + o.ConnectTimeout.Unset() } // GetProxyUrl returns the ProxyUrl field value if set, zero value otherwise (both if not set or set to explicit null). @@ -648,130 +726,28 @@ func (o *AnsibleGitRemote) UnsetRateLimit() { o.RateLimit.Unset() } -// GetCaCert returns the CaCert field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *AnsibleGitRemote) GetCaCert() string { - if o == nil || IsNil(o.CaCert.Get()) { - var ret string - return ret - } - return *o.CaCert.Get() -} - -// GetCaCertOk returns a tuple with the CaCert field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *AnsibleGitRemote) GetCaCertOk() (*string, bool) { - if o == nil { - return nil, false - } - return o.CaCert.Get(), o.CaCert.IsSet() -} - -// HasCaCert returns a boolean if a field has been set. -func (o *AnsibleGitRemote) HasCaCert() bool { - if o != nil && o.CaCert.IsSet() { - return true - } - - return false -} - -// SetCaCert gets a reference to the given NullableString and assigns it to the CaCert field. -func (o *AnsibleGitRemote) SetCaCert(v string) { - o.CaCert.Set(&v) -} -// SetCaCertNil sets the value for CaCert to be an explicit nil -func (o *AnsibleGitRemote) SetCaCertNil() { - o.CaCert.Set(nil) -} - -// UnsetCaCert ensures that no value is present for CaCert, not even an explicit nil -func (o *AnsibleGitRemote) UnsetCaCert() { - o.CaCert.Unset() -} - -// GetSockReadTimeout returns the SockReadTimeout field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *AnsibleGitRemote) GetSockReadTimeout() float64 { - if o == nil || IsNil(o.SockReadTimeout.Get()) { - var ret float64 - return ret - } - return *o.SockReadTimeout.Get() -} - -// GetSockReadTimeoutOk returns a tuple with the SockReadTimeout field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *AnsibleGitRemote) GetSockReadTimeoutOk() (*float64, bool) { +// GetName returns the Name field value +func (o *AnsibleGitRemote) GetName() string { if o == nil { - return nil, false - } - return o.SockReadTimeout.Get(), o.SockReadTimeout.IsSet() -} - -// HasSockReadTimeout returns a boolean if a field has been set. -func (o *AnsibleGitRemote) HasSockReadTimeout() bool { - if o != nil && o.SockReadTimeout.IsSet() { - return true - } - - return false -} - -// SetSockReadTimeout gets a reference to the given NullableFloat64 and assigns it to the SockReadTimeout field. -func (o *AnsibleGitRemote) SetSockReadTimeout(v float64) { - o.SockReadTimeout.Set(&v) -} -// SetSockReadTimeoutNil sets the value for SockReadTimeout to be an explicit nil -func (o *AnsibleGitRemote) SetSockReadTimeoutNil() { - o.SockReadTimeout.Set(nil) -} - -// UnsetSockReadTimeout ensures that no value is present for SockReadTimeout, not even an explicit nil -func (o *AnsibleGitRemote) UnsetSockReadTimeout() { - o.SockReadTimeout.Unset() -} - -// GetProxyUsername returns the ProxyUsername field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *AnsibleGitRemote) GetProxyUsername() string { - if o == nil || IsNil(o.ProxyUsername.Get()) { var ret string return ret } - return *o.ProxyUsername.Get() + + return o.Name } -// GetProxyUsernameOk returns a tuple with the ProxyUsername field value if set, nil otherwise +// GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *AnsibleGitRemote) GetProxyUsernameOk() (*string, bool) { +func (o *AnsibleGitRemote) GetNameOk() (*string, bool) { if o == nil { return nil, false } - return o.ProxyUsername.Get(), o.ProxyUsername.IsSet() -} - -// HasProxyUsername returns a boolean if a field has been set. -func (o *AnsibleGitRemote) HasProxyUsername() bool { - if o != nil && o.ProxyUsername.IsSet() { - return true - } - - return false -} - -// SetProxyUsername gets a reference to the given NullableString and assigns it to the ProxyUsername field. -func (o *AnsibleGitRemote) SetProxyUsername(v string) { - o.ProxyUsername.Set(&v) -} -// SetProxyUsernameNil sets the value for ProxyUsername to be an explicit nil -func (o *AnsibleGitRemote) SetProxyUsernameNil() { - o.ProxyUsername.Set(nil) + return &o.Name, true } -// UnsetProxyUsername ensures that no value is present for ProxyUsername, not even an explicit nil -func (o *AnsibleGitRemote) UnsetProxyUsername() { - o.ProxyUsername.Unset() +// SetName sets field value +func (o *AnsibleGitRemote) SetName(v string) { + o.Name = v } // GetUsername returns the Username field value if set, zero value otherwise (both if not set or set to explicit null). @@ -816,46 +792,70 @@ func (o *AnsibleGitRemote) UnsetUsername() { o.Username.Unset() } -// GetClientKey returns the ClientKey field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *AnsibleGitRemote) GetClientKey() string { - if o == nil || IsNil(o.ClientKey.Get()) { +// GetClientCert returns the ClientCert field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AnsibleGitRemote) GetClientCert() string { + if o == nil || IsNil(o.ClientCert.Get()) { var ret string return ret } - return *o.ClientKey.Get() + return *o.ClientCert.Get() } -// GetClientKeyOk returns a tuple with the ClientKey field value if set, nil otherwise +// GetClientCertOk returns a tuple with the ClientCert field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *AnsibleGitRemote) GetClientKeyOk() (*string, bool) { +func (o *AnsibleGitRemote) GetClientCertOk() (*string, bool) { if o == nil { return nil, false } - return o.ClientKey.Get(), o.ClientKey.IsSet() + return o.ClientCert.Get(), o.ClientCert.IsSet() } -// HasClientKey returns a boolean if a field has been set. -func (o *AnsibleGitRemote) HasClientKey() bool { - if o != nil && o.ClientKey.IsSet() { +// HasClientCert returns a boolean if a field has been set. +func (o *AnsibleGitRemote) HasClientCert() bool { + if o != nil && o.ClientCert.IsSet() { return true } return false } -// SetClientKey gets a reference to the given NullableString and assigns it to the ClientKey field. -func (o *AnsibleGitRemote) SetClientKey(v string) { - o.ClientKey.Set(&v) +// SetClientCert gets a reference to the given NullableString and assigns it to the ClientCert field. +func (o *AnsibleGitRemote) SetClientCert(v string) { + o.ClientCert.Set(&v) } -// SetClientKeyNil sets the value for ClientKey to be an explicit nil -func (o *AnsibleGitRemote) SetClientKeyNil() { - o.ClientKey.Set(nil) +// SetClientCertNil sets the value for ClientCert to be an explicit nil +func (o *AnsibleGitRemote) SetClientCertNil() { + o.ClientCert.Set(nil) } -// UnsetClientKey ensures that no value is present for ClientKey, not even an explicit nil -func (o *AnsibleGitRemote) UnsetClientKey() { - o.ClientKey.Unset() +// UnsetClientCert ensures that no value is present for ClientCert, not even an explicit nil +func (o *AnsibleGitRemote) UnsetClientCert() { + o.ClientCert.Unset() +} + +// GetUrl returns the Url field value +func (o *AnsibleGitRemote) GetUrl() string { + if o == nil { + var ret string + return ret + } + + return o.Url +} + +// GetUrlOk returns a tuple with the Url field value +// and a boolean to check if the value has been set. +func (o *AnsibleGitRemote) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *AnsibleGitRemote) SetUrl(v string) { + o.Url = v } // GetMetadataOnly returns the MetadataOnly field value if set, zero value otherwise. @@ -932,62 +932,62 @@ func (o AnsibleGitRemote) MarshalJSON() ([]byte, error) { func (o AnsibleGitRemote) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.PulpLabels) { + toSerialize["pulp_labels"] = o.PulpLabels + } if o.MaxRetries.IsSet() { toSerialize["max_retries"] = o.MaxRetries.Get() } - if o.ProxyPassword.IsSet() { - toSerialize["proxy_password"] = o.ProxyPassword.Get() + if o.Password.IsSet() { + toSerialize["password"] = o.Password.Get() } - if o.ClientCert.IsSet() { - toSerialize["client_cert"] = o.ClientCert.Get() + if o.CaCert.IsSet() { + toSerialize["ca_cert"] = o.CaCert.Get() } - if !IsNil(o.PulpLabels) { - toSerialize["pulp_labels"] = o.PulpLabels + if o.SockReadTimeout.IsSet() { + toSerialize["sock_read_timeout"] = o.SockReadTimeout.Get() } if o.TotalTimeout.IsSet() { toSerialize["total_timeout"] = o.TotalTimeout.Get() } - toSerialize["url"] = o.Url - if !IsNil(o.TlsValidation) { - toSerialize["tls_validation"] = o.TlsValidation + if o.DownloadConcurrency.IsSet() { + toSerialize["download_concurrency"] = o.DownloadConcurrency.Get() } - if o.Password.IsSet() { - toSerialize["password"] = o.Password.Get() + if o.ProxyPassword.IsSet() { + toSerialize["proxy_password"] = o.ProxyPassword.Get() + } + if o.ProxyUsername.IsSet() { + toSerialize["proxy_username"] = o.ProxyUsername.Get() } if o.SockConnectTimeout.IsSet() { toSerialize["sock_connect_timeout"] = o.SockConnectTimeout.Get() } - if o.DownloadConcurrency.IsSet() { - toSerialize["download_concurrency"] = o.DownloadConcurrency.Get() - } - toSerialize["name"] = o.Name - if o.ConnectTimeout.IsSet() { - toSerialize["connect_timeout"] = o.ConnectTimeout.Get() + if !IsNil(o.TlsValidation) { + toSerialize["tls_validation"] = o.TlsValidation } if !IsNil(o.Headers) { toSerialize["headers"] = o.Headers } + if o.ClientKey.IsSet() { + toSerialize["client_key"] = o.ClientKey.Get() + } + if o.ConnectTimeout.IsSet() { + toSerialize["connect_timeout"] = o.ConnectTimeout.Get() + } if o.ProxyUrl.IsSet() { toSerialize["proxy_url"] = o.ProxyUrl.Get() } if o.RateLimit.IsSet() { toSerialize["rate_limit"] = o.RateLimit.Get() } - if o.CaCert.IsSet() { - toSerialize["ca_cert"] = o.CaCert.Get() - } - if o.SockReadTimeout.IsSet() { - toSerialize["sock_read_timeout"] = o.SockReadTimeout.Get() - } - if o.ProxyUsername.IsSet() { - toSerialize["proxy_username"] = o.ProxyUsername.Get() - } + toSerialize["name"] = o.Name if o.Username.IsSet() { toSerialize["username"] = o.Username.Get() } - if o.ClientKey.IsSet() { - toSerialize["client_key"] = o.ClientKey.Get() + if o.ClientCert.IsSet() { + toSerialize["client_cert"] = o.ClientCert.Get() } + toSerialize["url"] = o.Url if !IsNil(o.MetadataOnly) { toSerialize["metadata_only"] = o.MetadataOnly } diff --git a/release/model_ansible_git_remote_response.go b/release/model_ansible_git_remote_response.go index 52f47c0a..405f965e 100644 --- a/release/model_ansible_git_remote_response.go +++ b/release/model_ansible_git_remote_response.go @@ -21,42 +21,42 @@ var _ MappedNullable = &AnsibleGitRemoteResponse{} // AnsibleGitRemoteResponse A serializer for Git Collection Remotes. type AnsibleGitRemoteResponse struct { + PulpLabels *map[string]string `json:"pulp_labels,omitempty"` // Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. MaxRetries NullableInt64 `json:"max_retries,omitempty"` - // Timestamp of creation. - PulpCreated *time.Time `json:"pulp_created,omitempty"` - // A PEM encoded client certificate used for authentication. - ClientCert NullableString `json:"client_cert,omitempty"` - PulpLabels *map[string]string `json:"pulp_labels,omitempty"` + // A PEM encoded CA certificate used to validate the server certificate presented by the remote server. + CaCert NullableString `json:"ca_cert,omitempty"` + // 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. + SockReadTimeout NullableFloat64 `json:"sock_read_timeout,omitempty"` // aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. TotalTimeout NullableFloat64 `json:"total_timeout,omitempty"` - // The URL of an external content source. - Url string `json:"url"` PulpHref *string `json:"pulp_href,omitempty"` - // If True, TLS peer validation must be performed. - TlsValidation *bool `json:"tls_validation,omitempty"` - // List of hidden (write only) fields - HiddenFields []RemoteResponseHiddenFieldsInner `json:"hidden_fields,omitempty"` - // 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. - SockConnectTimeout NullableFloat64 `json:"sock_connect_timeout,omitempty"` + // Timestamp of creation. + PulpCreated *time.Time `json:"pulp_created,omitempty"` // Total number of simultaneous connections. If not set then the default value will be used. DownloadConcurrency NullableInt64 `json:"download_concurrency,omitempty"` - // A unique name for this remote. - Name string `json:"name"` - // aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. - ConnectTimeout NullableFloat64 `json:"connect_timeout,omitempty"` + // 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. + SockConnectTimeout NullableFloat64 `json:"sock_connect_timeout,omitempty"` + // Timestamp of the most recent update of the remote. + PulpLastUpdated *time.Time `json:"pulp_last_updated,omitempty"` + // If True, TLS peer validation must be performed. + TlsValidation *bool `json:"tls_validation,omitempty"` // Headers for aiohttp.Clientsession Headers []map[string]interface{} `json:"headers,omitempty"` + // aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. + ConnectTimeout NullableFloat64 `json:"connect_timeout,omitempty"` + // List of hidden (write only) fields + HiddenFields []RemoteResponseHiddenFieldsInner `json:"hidden_fields,omitempty"` // The proxy URL. Format: scheme://host:port ProxyUrl NullableString `json:"proxy_url,omitempty"` // Limits requests per second for each concurrent downloader RateLimit NullableInt64 `json:"rate_limit,omitempty"` - // A PEM encoded CA certificate used to validate the server certificate presented by the remote server. - CaCert NullableString `json:"ca_cert,omitempty"` - // Timestamp of the most recent update of the remote. - PulpLastUpdated *time.Time `json:"pulp_last_updated,omitempty"` - // 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. - SockReadTimeout NullableFloat64 `json:"sock_read_timeout,omitempty"` + // A unique name for this remote. + Name string `json:"name"` + // A PEM encoded client certificate used for authentication. + ClientCert NullableString `json:"client_cert,omitempty"` + // The URL of an external content source. + Url string `json:"url"` // If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. MetadataOnly *bool `json:"metadata_only,omitempty"` // A git ref. e.g.: branch, tag, or commit sha. @@ -67,10 +67,10 @@ type AnsibleGitRemoteResponse struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewAnsibleGitRemoteResponse(url string, name string) *AnsibleGitRemoteResponse { +func NewAnsibleGitRemoteResponse(name string, url string) *AnsibleGitRemoteResponse { this := AnsibleGitRemoteResponse{} - this.Url = url this.Name = name + this.Url = url return &this } @@ -82,6 +82,38 @@ func NewAnsibleGitRemoteResponseWithDefaults() *AnsibleGitRemoteResponse { return &this } +// GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. +func (o *AnsibleGitRemoteResponse) GetPulpLabels() map[string]string { + if o == nil || IsNil(o.PulpLabels) { + var ret map[string]string + return ret + } + return *o.PulpLabels +} + +// GetPulpLabelsOk returns a tuple with the PulpLabels field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AnsibleGitRemoteResponse) GetPulpLabelsOk() (*map[string]string, bool) { + if o == nil || IsNil(o.PulpLabels) { + return nil, false + } + return o.PulpLabels, true +} + +// HasPulpLabels returns a boolean if a field has been set. +func (o *AnsibleGitRemoteResponse) HasPulpLabels() bool { + if o != nil && !IsNil(o.PulpLabels) { + return true + } + + return false +} + +// SetPulpLabels gets a reference to the given map[string]string and assigns it to the PulpLabels field. +func (o *AnsibleGitRemoteResponse) SetPulpLabels(v map[string]string) { + o.PulpLabels = &v +} + // GetMaxRetries returns the MaxRetries field value if set, zero value otherwise (both if not set or set to explicit null). func (o *AnsibleGitRemoteResponse) GetMaxRetries() int64 { if o == nil || IsNil(o.MaxRetries.Get()) { @@ -124,110 +156,88 @@ func (o *AnsibleGitRemoteResponse) UnsetMaxRetries() { o.MaxRetries.Unset() } -// GetPulpCreated returns the PulpCreated field value if set, zero value otherwise. -func (o *AnsibleGitRemoteResponse) GetPulpCreated() time.Time { - if o == nil || IsNil(o.PulpCreated) { - var ret time.Time - return ret - } - return *o.PulpCreated -} - -// GetPulpCreatedOk returns a tuple with the PulpCreated field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AnsibleGitRemoteResponse) GetPulpCreatedOk() (*time.Time, bool) { - if o == nil || IsNil(o.PulpCreated) { - return nil, false - } - return o.PulpCreated, true -} - -// HasPulpCreated returns a boolean if a field has been set. -func (o *AnsibleGitRemoteResponse) HasPulpCreated() bool { - if o != nil && !IsNil(o.PulpCreated) { - return true - } - - return false -} - -// SetPulpCreated gets a reference to the given time.Time and assigns it to the PulpCreated field. -func (o *AnsibleGitRemoteResponse) SetPulpCreated(v time.Time) { - o.PulpCreated = &v -} - -// GetClientCert returns the ClientCert field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *AnsibleGitRemoteResponse) GetClientCert() string { - if o == nil || IsNil(o.ClientCert.Get()) { +// GetCaCert returns the CaCert field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AnsibleGitRemoteResponse) GetCaCert() string { + if o == nil || IsNil(o.CaCert.Get()) { var ret string return ret } - return *o.ClientCert.Get() + return *o.CaCert.Get() } -// GetClientCertOk returns a tuple with the ClientCert field value if set, nil otherwise +// GetCaCertOk returns a tuple with the CaCert field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *AnsibleGitRemoteResponse) GetClientCertOk() (*string, bool) { +func (o *AnsibleGitRemoteResponse) GetCaCertOk() (*string, bool) { if o == nil { return nil, false } - return o.ClientCert.Get(), o.ClientCert.IsSet() + return o.CaCert.Get(), o.CaCert.IsSet() } -// HasClientCert returns a boolean if a field has been set. -func (o *AnsibleGitRemoteResponse) HasClientCert() bool { - if o != nil && o.ClientCert.IsSet() { +// HasCaCert returns a boolean if a field has been set. +func (o *AnsibleGitRemoteResponse) HasCaCert() bool { + if o != nil && o.CaCert.IsSet() { return true } return false } -// SetClientCert gets a reference to the given NullableString and assigns it to the ClientCert field. -func (o *AnsibleGitRemoteResponse) SetClientCert(v string) { - o.ClientCert.Set(&v) +// SetCaCert gets a reference to the given NullableString and assigns it to the CaCert field. +func (o *AnsibleGitRemoteResponse) SetCaCert(v string) { + o.CaCert.Set(&v) } -// SetClientCertNil sets the value for ClientCert to be an explicit nil -func (o *AnsibleGitRemoteResponse) SetClientCertNil() { - o.ClientCert.Set(nil) +// SetCaCertNil sets the value for CaCert to be an explicit nil +func (o *AnsibleGitRemoteResponse) SetCaCertNil() { + o.CaCert.Set(nil) } -// UnsetClientCert ensures that no value is present for ClientCert, not even an explicit nil -func (o *AnsibleGitRemoteResponse) UnsetClientCert() { - o.ClientCert.Unset() +// UnsetCaCert ensures that no value is present for CaCert, not even an explicit nil +func (o *AnsibleGitRemoteResponse) UnsetCaCert() { + o.CaCert.Unset() } -// GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. -func (o *AnsibleGitRemoteResponse) GetPulpLabels() map[string]string { - if o == nil || IsNil(o.PulpLabels) { - var ret map[string]string +// GetSockReadTimeout returns the SockReadTimeout field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AnsibleGitRemoteResponse) GetSockReadTimeout() float64 { + if o == nil || IsNil(o.SockReadTimeout.Get()) { + var ret float64 return ret } - return *o.PulpLabels + return *o.SockReadTimeout.Get() } -// GetPulpLabelsOk returns a tuple with the PulpLabels field value if set, nil otherwise +// GetSockReadTimeoutOk returns a tuple with the SockReadTimeout field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *AnsibleGitRemoteResponse) GetPulpLabelsOk() (*map[string]string, bool) { - if o == nil || IsNil(o.PulpLabels) { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AnsibleGitRemoteResponse) GetSockReadTimeoutOk() (*float64, bool) { + if o == nil { return nil, false } - return o.PulpLabels, true + return o.SockReadTimeout.Get(), o.SockReadTimeout.IsSet() } -// HasPulpLabels returns a boolean if a field has been set. -func (o *AnsibleGitRemoteResponse) HasPulpLabels() bool { - if o != nil && !IsNil(o.PulpLabels) { +// HasSockReadTimeout returns a boolean if a field has been set. +func (o *AnsibleGitRemoteResponse) HasSockReadTimeout() bool { + if o != nil && o.SockReadTimeout.IsSet() { return true } return false } -// SetPulpLabels gets a reference to the given map[string]string and assigns it to the PulpLabels field. -func (o *AnsibleGitRemoteResponse) SetPulpLabels(v map[string]string) { - o.PulpLabels = &v +// SetSockReadTimeout gets a reference to the given NullableFloat64 and assigns it to the SockReadTimeout field. +func (o *AnsibleGitRemoteResponse) SetSockReadTimeout(v float64) { + o.SockReadTimeout.Set(&v) +} +// SetSockReadTimeoutNil sets the value for SockReadTimeout to be an explicit nil +func (o *AnsibleGitRemoteResponse) SetSockReadTimeoutNil() { + o.SockReadTimeout.Set(nil) +} + +// UnsetSockReadTimeout ensures that no value is present for SockReadTimeout, not even an explicit nil +func (o *AnsibleGitRemoteResponse) UnsetSockReadTimeout() { + o.SockReadTimeout.Unset() } // GetTotalTimeout returns the TotalTimeout field value if set, zero value otherwise (both if not set or set to explicit null). @@ -272,30 +282,6 @@ func (o *AnsibleGitRemoteResponse) UnsetTotalTimeout() { o.TotalTimeout.Unset() } -// GetUrl returns the Url field value -func (o *AnsibleGitRemoteResponse) GetUrl() string { - if o == nil { - var ret string - return ret - } - - return o.Url -} - -// GetUrlOk returns a tuple with the Url field value -// and a boolean to check if the value has been set. -func (o *AnsibleGitRemoteResponse) GetUrlOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Url, true -} - -// SetUrl sets field value -func (o *AnsibleGitRemoteResponse) SetUrl(v string) { - o.Url = v -} - // GetPulpHref returns the PulpHref field value if set, zero value otherwise. func (o *AnsibleGitRemoteResponse) GetPulpHref() string { if o == nil || IsNil(o.PulpHref) { @@ -328,68 +314,78 @@ func (o *AnsibleGitRemoteResponse) SetPulpHref(v string) { o.PulpHref = &v } -// GetTlsValidation returns the TlsValidation field value if set, zero value otherwise. -func (o *AnsibleGitRemoteResponse) GetTlsValidation() bool { - if o == nil || IsNil(o.TlsValidation) { - var ret bool +// GetPulpCreated returns the PulpCreated field value if set, zero value otherwise. +func (o *AnsibleGitRemoteResponse) GetPulpCreated() time.Time { + if o == nil || IsNil(o.PulpCreated) { + var ret time.Time return ret } - return *o.TlsValidation + return *o.PulpCreated } -// GetTlsValidationOk returns a tuple with the TlsValidation field value if set, nil otherwise +// GetPulpCreatedOk returns a tuple with the PulpCreated field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *AnsibleGitRemoteResponse) GetTlsValidationOk() (*bool, bool) { - if o == nil || IsNil(o.TlsValidation) { +func (o *AnsibleGitRemoteResponse) GetPulpCreatedOk() (*time.Time, bool) { + if o == nil || IsNil(o.PulpCreated) { return nil, false } - return o.TlsValidation, true + return o.PulpCreated, true } -// HasTlsValidation returns a boolean if a field has been set. -func (o *AnsibleGitRemoteResponse) HasTlsValidation() bool { - if o != nil && !IsNil(o.TlsValidation) { +// HasPulpCreated returns a boolean if a field has been set. +func (o *AnsibleGitRemoteResponse) HasPulpCreated() bool { + if o != nil && !IsNil(o.PulpCreated) { return true } return false } -// SetTlsValidation gets a reference to the given bool and assigns it to the TlsValidation field. -func (o *AnsibleGitRemoteResponse) SetTlsValidation(v bool) { - o.TlsValidation = &v +// SetPulpCreated gets a reference to the given time.Time and assigns it to the PulpCreated field. +func (o *AnsibleGitRemoteResponse) SetPulpCreated(v time.Time) { + o.PulpCreated = &v } -// GetHiddenFields returns the HiddenFields field value if set, zero value otherwise. -func (o *AnsibleGitRemoteResponse) GetHiddenFields() []RemoteResponseHiddenFieldsInner { - if o == nil || IsNil(o.HiddenFields) { - var ret []RemoteResponseHiddenFieldsInner +// GetDownloadConcurrency returns the DownloadConcurrency field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AnsibleGitRemoteResponse) GetDownloadConcurrency() int64 { + if o == nil || IsNil(o.DownloadConcurrency.Get()) { + var ret int64 return ret } - return o.HiddenFields + return *o.DownloadConcurrency.Get() } -// GetHiddenFieldsOk returns a tuple with the HiddenFields field value if set, nil otherwise +// GetDownloadConcurrencyOk returns a tuple with the DownloadConcurrency field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *AnsibleGitRemoteResponse) GetHiddenFieldsOk() ([]RemoteResponseHiddenFieldsInner, bool) { - if o == nil || IsNil(o.HiddenFields) { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AnsibleGitRemoteResponse) GetDownloadConcurrencyOk() (*int64, bool) { + if o == nil { return nil, false } - return o.HiddenFields, true + return o.DownloadConcurrency.Get(), o.DownloadConcurrency.IsSet() } -// HasHiddenFields returns a boolean if a field has been set. -func (o *AnsibleGitRemoteResponse) HasHiddenFields() bool { - if o != nil && !IsNil(o.HiddenFields) { +// HasDownloadConcurrency returns a boolean if a field has been set. +func (o *AnsibleGitRemoteResponse) HasDownloadConcurrency() bool { + if o != nil && o.DownloadConcurrency.IsSet() { return true } return false } -// SetHiddenFields gets a reference to the given []RemoteResponseHiddenFieldsInner and assigns it to the HiddenFields field. -func (o *AnsibleGitRemoteResponse) SetHiddenFields(v []RemoteResponseHiddenFieldsInner) { - o.HiddenFields = v +// SetDownloadConcurrency gets a reference to the given NullableInt64 and assigns it to the DownloadConcurrency field. +func (o *AnsibleGitRemoteResponse) SetDownloadConcurrency(v int64) { + o.DownloadConcurrency.Set(&v) +} +// SetDownloadConcurrencyNil sets the value for DownloadConcurrency to be an explicit nil +func (o *AnsibleGitRemoteResponse) SetDownloadConcurrencyNil() { + o.DownloadConcurrency.Set(nil) +} + +// UnsetDownloadConcurrency ensures that no value is present for DownloadConcurrency, not even an explicit nil +func (o *AnsibleGitRemoteResponse) UnsetDownloadConcurrency() { + o.DownloadConcurrency.Unset() } // GetSockConnectTimeout returns the SockConnectTimeout field value if set, zero value otherwise (both if not set or set to explicit null). @@ -434,70 +430,100 @@ func (o *AnsibleGitRemoteResponse) UnsetSockConnectTimeout() { o.SockConnectTimeout.Unset() } -// GetDownloadConcurrency returns the DownloadConcurrency field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *AnsibleGitRemoteResponse) GetDownloadConcurrency() int64 { - if o == nil || IsNil(o.DownloadConcurrency.Get()) { - var ret int64 +// GetPulpLastUpdated returns the PulpLastUpdated field value if set, zero value otherwise. +func (o *AnsibleGitRemoteResponse) GetPulpLastUpdated() time.Time { + if o == nil || IsNil(o.PulpLastUpdated) { + var ret time.Time return ret } - return *o.DownloadConcurrency.Get() + return *o.PulpLastUpdated } -// GetDownloadConcurrencyOk returns a tuple with the DownloadConcurrency field value if set, nil otherwise +// GetPulpLastUpdatedOk returns a tuple with the PulpLastUpdated field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AnsibleGitRemoteResponse) GetPulpLastUpdatedOk() (*time.Time, bool) { + if o == nil || IsNil(o.PulpLastUpdated) { + return nil, false + } + return o.PulpLastUpdated, true +} + +// HasPulpLastUpdated returns a boolean if a field has been set. +func (o *AnsibleGitRemoteResponse) HasPulpLastUpdated() bool { + if o != nil && !IsNil(o.PulpLastUpdated) { + return true + } + + return false +} + +// SetPulpLastUpdated gets a reference to the given time.Time and assigns it to the PulpLastUpdated field. +func (o *AnsibleGitRemoteResponse) SetPulpLastUpdated(v time.Time) { + o.PulpLastUpdated = &v +} + +// GetTlsValidation returns the TlsValidation field value if set, zero value otherwise. +func (o *AnsibleGitRemoteResponse) GetTlsValidation() bool { + if o == nil || IsNil(o.TlsValidation) { + var ret bool + return ret + } + return *o.TlsValidation +} + +// GetTlsValidationOk returns a tuple with the TlsValidation field value if set, nil otherwise // and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *AnsibleGitRemoteResponse) GetDownloadConcurrencyOk() (*int64, bool) { - if o == nil { +func (o *AnsibleGitRemoteResponse) GetTlsValidationOk() (*bool, bool) { + if o == nil || IsNil(o.TlsValidation) { return nil, false } - return o.DownloadConcurrency.Get(), o.DownloadConcurrency.IsSet() + return o.TlsValidation, true } -// HasDownloadConcurrency returns a boolean if a field has been set. -func (o *AnsibleGitRemoteResponse) HasDownloadConcurrency() bool { - if o != nil && o.DownloadConcurrency.IsSet() { +// HasTlsValidation returns a boolean if a field has been set. +func (o *AnsibleGitRemoteResponse) HasTlsValidation() bool { + if o != nil && !IsNil(o.TlsValidation) { return true } return false } -// SetDownloadConcurrency gets a reference to the given NullableInt64 and assigns it to the DownloadConcurrency field. -func (o *AnsibleGitRemoteResponse) SetDownloadConcurrency(v int64) { - o.DownloadConcurrency.Set(&v) -} -// SetDownloadConcurrencyNil sets the value for DownloadConcurrency to be an explicit nil -func (o *AnsibleGitRemoteResponse) SetDownloadConcurrencyNil() { - o.DownloadConcurrency.Set(nil) -} - -// UnsetDownloadConcurrency ensures that no value is present for DownloadConcurrency, not even an explicit nil -func (o *AnsibleGitRemoteResponse) UnsetDownloadConcurrency() { - o.DownloadConcurrency.Unset() +// SetTlsValidation gets a reference to the given bool and assigns it to the TlsValidation field. +func (o *AnsibleGitRemoteResponse) SetTlsValidation(v bool) { + o.TlsValidation = &v } -// GetName returns the Name field value -func (o *AnsibleGitRemoteResponse) GetName() string { - if o == nil { - var ret string +// GetHeaders returns the Headers field value if set, zero value otherwise. +func (o *AnsibleGitRemoteResponse) GetHeaders() []map[string]interface{} { + if o == nil || IsNil(o.Headers) { + var ret []map[string]interface{} return ret } - - return o.Name + return o.Headers } -// GetNameOk returns a tuple with the Name field value +// GetHeadersOk returns a tuple with the Headers field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *AnsibleGitRemoteResponse) GetNameOk() (*string, bool) { - if o == nil { +func (o *AnsibleGitRemoteResponse) GetHeadersOk() ([]map[string]interface{}, bool) { + if o == nil || IsNil(o.Headers) { return nil, false } - return &o.Name, true + return o.Headers, true } -// SetName sets field value -func (o *AnsibleGitRemoteResponse) SetName(v string) { - o.Name = v +// HasHeaders returns a boolean if a field has been set. +func (o *AnsibleGitRemoteResponse) HasHeaders() bool { + if o != nil && !IsNil(o.Headers) { + return true + } + + return false +} + +// SetHeaders gets a reference to the given []map[string]interface{} and assigns it to the Headers field. +func (o *AnsibleGitRemoteResponse) SetHeaders(v []map[string]interface{}) { + o.Headers = v } // GetConnectTimeout returns the ConnectTimeout field value if set, zero value otherwise (both if not set or set to explicit null). @@ -542,36 +568,36 @@ func (o *AnsibleGitRemoteResponse) UnsetConnectTimeout() { o.ConnectTimeout.Unset() } -// GetHeaders returns the Headers field value if set, zero value otherwise. -func (o *AnsibleGitRemoteResponse) GetHeaders() []map[string]interface{} { - if o == nil || IsNil(o.Headers) { - var ret []map[string]interface{} +// GetHiddenFields returns the HiddenFields field value if set, zero value otherwise. +func (o *AnsibleGitRemoteResponse) GetHiddenFields() []RemoteResponseHiddenFieldsInner { + if o == nil || IsNil(o.HiddenFields) { + var ret []RemoteResponseHiddenFieldsInner return ret } - return o.Headers + return o.HiddenFields } -// GetHeadersOk returns a tuple with the Headers field value if set, nil otherwise +// GetHiddenFieldsOk returns a tuple with the HiddenFields field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *AnsibleGitRemoteResponse) GetHeadersOk() ([]map[string]interface{}, bool) { - if o == nil || IsNil(o.Headers) { +func (o *AnsibleGitRemoteResponse) GetHiddenFieldsOk() ([]RemoteResponseHiddenFieldsInner, bool) { + if o == nil || IsNil(o.HiddenFields) { return nil, false } - return o.Headers, true + return o.HiddenFields, true } -// HasHeaders returns a boolean if a field has been set. -func (o *AnsibleGitRemoteResponse) HasHeaders() bool { - if o != nil && !IsNil(o.Headers) { +// HasHiddenFields returns a boolean if a field has been set. +func (o *AnsibleGitRemoteResponse) HasHiddenFields() bool { + if o != nil && !IsNil(o.HiddenFields) { return true } return false } -// SetHeaders gets a reference to the given []map[string]interface{} and assigns it to the Headers field. -func (o *AnsibleGitRemoteResponse) SetHeaders(v []map[string]interface{}) { - o.Headers = v +// SetHiddenFields gets a reference to the given []RemoteResponseHiddenFieldsInner and assigns it to the HiddenFields field. +func (o *AnsibleGitRemoteResponse) SetHiddenFields(v []RemoteResponseHiddenFieldsInner) { + o.HiddenFields = v } // GetProxyUrl returns the ProxyUrl field value if set, zero value otherwise (both if not set or set to explicit null). @@ -658,120 +684,94 @@ func (o *AnsibleGitRemoteResponse) UnsetRateLimit() { o.RateLimit.Unset() } -// GetCaCert returns the CaCert field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *AnsibleGitRemoteResponse) GetCaCert() string { - if o == nil || IsNil(o.CaCert.Get()) { +// GetName returns the Name field value +func (o *AnsibleGitRemoteResponse) GetName() string { + if o == nil { var ret string return ret } - return *o.CaCert.Get() + + return o.Name } -// GetCaCertOk returns a tuple with the CaCert field value if set, nil otherwise +// GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *AnsibleGitRemoteResponse) GetCaCertOk() (*string, bool) { +func (o *AnsibleGitRemoteResponse) GetNameOk() (*string, bool) { if o == nil { return nil, false } - return o.CaCert.Get(), o.CaCert.IsSet() -} - -// HasCaCert returns a boolean if a field has been set. -func (o *AnsibleGitRemoteResponse) HasCaCert() bool { - if o != nil && o.CaCert.IsSet() { - return true - } - - return false -} - -// SetCaCert gets a reference to the given NullableString and assigns it to the CaCert field. -func (o *AnsibleGitRemoteResponse) SetCaCert(v string) { - o.CaCert.Set(&v) -} -// SetCaCertNil sets the value for CaCert to be an explicit nil -func (o *AnsibleGitRemoteResponse) SetCaCertNil() { - o.CaCert.Set(nil) + return &o.Name, true } -// UnsetCaCert ensures that no value is present for CaCert, not even an explicit nil -func (o *AnsibleGitRemoteResponse) UnsetCaCert() { - o.CaCert.Unset() +// SetName sets field value +func (o *AnsibleGitRemoteResponse) SetName(v string) { + o.Name = v } -// GetPulpLastUpdated returns the PulpLastUpdated field value if set, zero value otherwise. -func (o *AnsibleGitRemoteResponse) GetPulpLastUpdated() time.Time { - if o == nil || IsNil(o.PulpLastUpdated) { - var ret time.Time +// GetClientCert returns the ClientCert field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AnsibleGitRemoteResponse) GetClientCert() string { + if o == nil || IsNil(o.ClientCert.Get()) { + var ret string return ret } - return *o.PulpLastUpdated + return *o.ClientCert.Get() } -// GetPulpLastUpdatedOk returns a tuple with the PulpLastUpdated field value if set, nil otherwise +// GetClientCertOk returns a tuple with the ClientCert field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *AnsibleGitRemoteResponse) GetPulpLastUpdatedOk() (*time.Time, bool) { - if o == nil || IsNil(o.PulpLastUpdated) { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AnsibleGitRemoteResponse) GetClientCertOk() (*string, bool) { + if o == nil { return nil, false } - return o.PulpLastUpdated, true + return o.ClientCert.Get(), o.ClientCert.IsSet() } -// HasPulpLastUpdated returns a boolean if a field has been set. -func (o *AnsibleGitRemoteResponse) HasPulpLastUpdated() bool { - if o != nil && !IsNil(o.PulpLastUpdated) { +// HasClientCert returns a boolean if a field has been set. +func (o *AnsibleGitRemoteResponse) HasClientCert() bool { + if o != nil && o.ClientCert.IsSet() { return true } return false } -// SetPulpLastUpdated gets a reference to the given time.Time and assigns it to the PulpLastUpdated field. -func (o *AnsibleGitRemoteResponse) SetPulpLastUpdated(v time.Time) { - o.PulpLastUpdated = &v +// SetClientCert gets a reference to the given NullableString and assigns it to the ClientCert field. +func (o *AnsibleGitRemoteResponse) SetClientCert(v string) { + o.ClientCert.Set(&v) +} +// SetClientCertNil sets the value for ClientCert to be an explicit nil +func (o *AnsibleGitRemoteResponse) SetClientCertNil() { + o.ClientCert.Set(nil) } -// GetSockReadTimeout returns the SockReadTimeout field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *AnsibleGitRemoteResponse) GetSockReadTimeout() float64 { - if o == nil || IsNil(o.SockReadTimeout.Get()) { - var ret float64 +// UnsetClientCert ensures that no value is present for ClientCert, not even an explicit nil +func (o *AnsibleGitRemoteResponse) UnsetClientCert() { + o.ClientCert.Unset() +} + +// GetUrl returns the Url field value +func (o *AnsibleGitRemoteResponse) GetUrl() string { + if o == nil { + var ret string return ret } - return *o.SockReadTimeout.Get() + + return o.Url } -// GetSockReadTimeoutOk returns a tuple with the SockReadTimeout field value if set, nil otherwise +// GetUrlOk returns a tuple with the Url field value // and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *AnsibleGitRemoteResponse) GetSockReadTimeoutOk() (*float64, bool) { +func (o *AnsibleGitRemoteResponse) GetUrlOk() (*string, bool) { if o == nil { return nil, false } - return o.SockReadTimeout.Get(), o.SockReadTimeout.IsSet() -} - -// HasSockReadTimeout returns a boolean if a field has been set. -func (o *AnsibleGitRemoteResponse) HasSockReadTimeout() bool { - if o != nil && o.SockReadTimeout.IsSet() { - return true - } - - return false -} - -// SetSockReadTimeout gets a reference to the given NullableFloat64 and assigns it to the SockReadTimeout field. -func (o *AnsibleGitRemoteResponse) SetSockReadTimeout(v float64) { - o.SockReadTimeout.Set(&v) -} -// SetSockReadTimeoutNil sets the value for SockReadTimeout to be an explicit nil -func (o *AnsibleGitRemoteResponse) SetSockReadTimeoutNil() { - o.SockReadTimeout.Set(nil) + return &o.Url, true } -// UnsetSockReadTimeout ensures that no value is present for SockReadTimeout, not even an explicit nil -func (o *AnsibleGitRemoteResponse) UnsetSockReadTimeout() { - o.SockReadTimeout.Unset() +// SetUrl sets field value +func (o *AnsibleGitRemoteResponse) SetUrl(v string) { + o.Url = v } // GetMetadataOnly returns the MetadataOnly field value if set, zero value otherwise. @@ -848,51 +848,51 @@ func (o AnsibleGitRemoteResponse) MarshalJSON() ([]byte, error) { func (o AnsibleGitRemoteResponse) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.PulpLabels) { + toSerialize["pulp_labels"] = o.PulpLabels + } if o.MaxRetries.IsSet() { toSerialize["max_retries"] = o.MaxRetries.Get() } - // skip: pulp_created is readOnly - if o.ClientCert.IsSet() { - toSerialize["client_cert"] = o.ClientCert.Get() + if o.CaCert.IsSet() { + toSerialize["ca_cert"] = o.CaCert.Get() } - if !IsNil(o.PulpLabels) { - toSerialize["pulp_labels"] = o.PulpLabels + if o.SockReadTimeout.IsSet() { + toSerialize["sock_read_timeout"] = o.SockReadTimeout.Get() } if o.TotalTimeout.IsSet() { toSerialize["total_timeout"] = o.TotalTimeout.Get() } - toSerialize["url"] = o.Url // skip: pulp_href is readOnly - if !IsNil(o.TlsValidation) { - toSerialize["tls_validation"] = o.TlsValidation + // skip: pulp_created is readOnly + if o.DownloadConcurrency.IsSet() { + toSerialize["download_concurrency"] = o.DownloadConcurrency.Get() } - // skip: hidden_fields is readOnly if o.SockConnectTimeout.IsSet() { toSerialize["sock_connect_timeout"] = o.SockConnectTimeout.Get() } - if o.DownloadConcurrency.IsSet() { - toSerialize["download_concurrency"] = o.DownloadConcurrency.Get() - } - toSerialize["name"] = o.Name - if o.ConnectTimeout.IsSet() { - toSerialize["connect_timeout"] = o.ConnectTimeout.Get() + // skip: pulp_last_updated is readOnly + if !IsNil(o.TlsValidation) { + toSerialize["tls_validation"] = o.TlsValidation } if !IsNil(o.Headers) { toSerialize["headers"] = o.Headers } + if o.ConnectTimeout.IsSet() { + toSerialize["connect_timeout"] = o.ConnectTimeout.Get() + } + // skip: hidden_fields is readOnly if o.ProxyUrl.IsSet() { toSerialize["proxy_url"] = o.ProxyUrl.Get() } if o.RateLimit.IsSet() { toSerialize["rate_limit"] = o.RateLimit.Get() } - if o.CaCert.IsSet() { - toSerialize["ca_cert"] = o.CaCert.Get() - } - // skip: pulp_last_updated is readOnly - if o.SockReadTimeout.IsSet() { - toSerialize["sock_read_timeout"] = o.SockReadTimeout.Get() + toSerialize["name"] = o.Name + if o.ClientCert.IsSet() { + toSerialize["client_cert"] = o.ClientCert.Get() } + toSerialize["url"] = o.Url if !IsNil(o.MetadataOnly) { toSerialize["metadata_only"] = o.MetadataOnly } diff --git a/release/model_ansible_role_response.go b/release/model_ansible_role_response.go index ff20af85..337be6ce 100644 --- a/release/model_ansible_role_response.go +++ b/release/model_ansible_role_response.go @@ -22,10 +22,10 @@ var _ MappedNullable = &AnsibleRoleResponse{} // AnsibleRoleResponse A serializer for Role versions. type AnsibleRoleResponse struct { PulpHref *string `json:"pulp_href,omitempty"` - // Artifact file representing the physical content - Artifact string `json:"artifact"` // Timestamp of creation. PulpCreated *time.Time `json:"pulp_created,omitempty"` + // Artifact file representing the physical content + Artifact string `json:"artifact"` Version string `json:"version"` Name string `json:"name"` Namespace string `json:"namespace"` @@ -84,30 +84,6 @@ func (o *AnsibleRoleResponse) SetPulpHref(v string) { o.PulpHref = &v } -// GetArtifact returns the Artifact field value -func (o *AnsibleRoleResponse) GetArtifact() string { - if o == nil { - var ret string - return ret - } - - return o.Artifact -} - -// GetArtifactOk returns a tuple with the Artifact field value -// and a boolean to check if the value has been set. -func (o *AnsibleRoleResponse) GetArtifactOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Artifact, true -} - -// SetArtifact sets field value -func (o *AnsibleRoleResponse) SetArtifact(v string) { - o.Artifact = v -} - // GetPulpCreated returns the PulpCreated field value if set, zero value otherwise. func (o *AnsibleRoleResponse) GetPulpCreated() time.Time { if o == nil || IsNil(o.PulpCreated) { @@ -140,6 +116,30 @@ func (o *AnsibleRoleResponse) SetPulpCreated(v time.Time) { o.PulpCreated = &v } +// GetArtifact returns the Artifact field value +func (o *AnsibleRoleResponse) GetArtifact() string { + if o == nil { + var ret string + return ret + } + + return o.Artifact +} + +// GetArtifactOk returns a tuple with the Artifact field value +// and a boolean to check if the value has been set. +func (o *AnsibleRoleResponse) GetArtifactOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Artifact, true +} + +// SetArtifact sets field value +func (o *AnsibleRoleResponse) SetArtifact(v string) { + o.Artifact = v +} + // GetVersion returns the Version field value func (o *AnsibleRoleResponse) GetVersion() string { if o == nil { @@ -223,8 +223,8 @@ func (o AnsibleRoleResponse) MarshalJSON() ([]byte, error) { func (o AnsibleRoleResponse) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} // skip: pulp_href is readOnly - toSerialize["artifact"] = o.Artifact // skip: pulp_created is readOnly + toSerialize["artifact"] = o.Artifact toSerialize["version"] = o.Version toSerialize["name"] = o.Name toSerialize["namespace"] = o.Namespace diff --git a/release/model_artifact_distribution_response.go b/release/model_artifact_distribution_response.go index 476fd5c8..2235a319 100644 --- a/release/model_artifact_distribution_response.go +++ b/release/model_artifact_distribution_response.go @@ -21,18 +21,20 @@ var _ MappedNullable = &ArtifactDistributionResponse{} // ArtifactDistributionResponse A serializer for ArtifactDistribution. type ArtifactDistributionResponse struct { - // Timestamp of creation. - PulpCreated *time.Time `json:"pulp_created,omitempty"` - PulpLabels *map[string]string `json:"pulp_labels,omitempty"` // The URL for accessing the publication as defined by this distribution. BaseUrl *string `json:"base_url,omitempty"` + PulpLabels *map[string]string `json:"pulp_labels,omitempty"` // The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") BasePath string `json:"base_path"` PulpHref *string `json:"pulp_href,omitempty"` + // Timestamp of creation. + PulpCreated *time.Time `json:"pulp_created,omitempty"` // An optional content-guard. ContentGuard NullableString `json:"content_guard,omitempty"` // A unique name. Ex, `rawhide` and `stable`. Name string `json:"name"` + // Whether this distribution should be shown in the content app. + Hidden *bool `json:"hidden,omitempty"` } // NewArtifactDistributionResponse instantiates a new ArtifactDistributionResponse object @@ -43,6 +45,8 @@ func NewArtifactDistributionResponse(basePath string, name string) *ArtifactDist this := ArtifactDistributionResponse{} this.BasePath = basePath this.Name = name + var hidden bool = false + this.Hidden = &hidden return &this } @@ -51,39 +55,41 @@ func NewArtifactDistributionResponse(basePath string, name string) *ArtifactDist // but it doesn't guarantee that properties required by API are set func NewArtifactDistributionResponseWithDefaults() *ArtifactDistributionResponse { this := ArtifactDistributionResponse{} + var hidden bool = false + this.Hidden = &hidden return &this } -// GetPulpCreated returns the PulpCreated field value if set, zero value otherwise. -func (o *ArtifactDistributionResponse) GetPulpCreated() time.Time { - if o == nil || IsNil(o.PulpCreated) { - var ret time.Time +// GetBaseUrl returns the BaseUrl field value if set, zero value otherwise. +func (o *ArtifactDistributionResponse) GetBaseUrl() string { + if o == nil || IsNil(o.BaseUrl) { + var ret string return ret } - return *o.PulpCreated + return *o.BaseUrl } -// GetPulpCreatedOk returns a tuple with the PulpCreated field value if set, nil otherwise +// GetBaseUrlOk returns a tuple with the BaseUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ArtifactDistributionResponse) GetPulpCreatedOk() (*time.Time, bool) { - if o == nil || IsNil(o.PulpCreated) { +func (o *ArtifactDistributionResponse) GetBaseUrlOk() (*string, bool) { + if o == nil || IsNil(o.BaseUrl) { return nil, false } - return o.PulpCreated, true + return o.BaseUrl, true } -// HasPulpCreated returns a boolean if a field has been set. -func (o *ArtifactDistributionResponse) HasPulpCreated() bool { - if o != nil && !IsNil(o.PulpCreated) { +// HasBaseUrl returns a boolean if a field has been set. +func (o *ArtifactDistributionResponse) HasBaseUrl() bool { + if o != nil && !IsNil(o.BaseUrl) { return true } return false } -// SetPulpCreated gets a reference to the given time.Time and assigns it to the PulpCreated field. -func (o *ArtifactDistributionResponse) SetPulpCreated(v time.Time) { - o.PulpCreated = &v +// SetBaseUrl gets a reference to the given string and assigns it to the BaseUrl field. +func (o *ArtifactDistributionResponse) SetBaseUrl(v string) { + o.BaseUrl = &v } // GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. @@ -118,38 +124,6 @@ func (o *ArtifactDistributionResponse) SetPulpLabels(v map[string]string) { o.PulpLabels = &v } -// GetBaseUrl returns the BaseUrl field value if set, zero value otherwise. -func (o *ArtifactDistributionResponse) GetBaseUrl() string { - if o == nil || IsNil(o.BaseUrl) { - var ret string - return ret - } - return *o.BaseUrl -} - -// GetBaseUrlOk returns a tuple with the BaseUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ArtifactDistributionResponse) GetBaseUrlOk() (*string, bool) { - if o == nil || IsNil(o.BaseUrl) { - return nil, false - } - return o.BaseUrl, true -} - -// HasBaseUrl returns a boolean if a field has been set. -func (o *ArtifactDistributionResponse) HasBaseUrl() bool { - if o != nil && !IsNil(o.BaseUrl) { - return true - } - - return false -} - -// SetBaseUrl gets a reference to the given string and assigns it to the BaseUrl field. -func (o *ArtifactDistributionResponse) SetBaseUrl(v string) { - o.BaseUrl = &v -} - // GetBasePath returns the BasePath field value func (o *ArtifactDistributionResponse) GetBasePath() string { if o == nil { @@ -206,6 +180,38 @@ func (o *ArtifactDistributionResponse) SetPulpHref(v string) { o.PulpHref = &v } +// GetPulpCreated returns the PulpCreated field value if set, zero value otherwise. +func (o *ArtifactDistributionResponse) GetPulpCreated() time.Time { + if o == nil || IsNil(o.PulpCreated) { + var ret time.Time + return ret + } + return *o.PulpCreated +} + +// GetPulpCreatedOk returns a tuple with the PulpCreated field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtifactDistributionResponse) GetPulpCreatedOk() (*time.Time, bool) { + if o == nil || IsNil(o.PulpCreated) { + return nil, false + } + return o.PulpCreated, true +} + +// HasPulpCreated returns a boolean if a field has been set. +func (o *ArtifactDistributionResponse) HasPulpCreated() bool { + if o != nil && !IsNil(o.PulpCreated) { + return true + } + + return false +} + +// SetPulpCreated gets a reference to the given time.Time and assigns it to the PulpCreated field. +func (o *ArtifactDistributionResponse) SetPulpCreated(v time.Time) { + o.PulpCreated = &v +} + // GetContentGuard returns the ContentGuard field value if set, zero value otherwise (both if not set or set to explicit null). func (o *ArtifactDistributionResponse) GetContentGuard() string { if o == nil || IsNil(o.ContentGuard.Get()) { @@ -272,6 +278,38 @@ func (o *ArtifactDistributionResponse) SetName(v string) { o.Name = v } +// GetHidden returns the Hidden field value if set, zero value otherwise. +func (o *ArtifactDistributionResponse) GetHidden() bool { + if o == nil || IsNil(o.Hidden) { + var ret bool + return ret + } + return *o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtifactDistributionResponse) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { + return nil, false + } + return o.Hidden, true +} + +// HasHidden returns a boolean if a field has been set. +func (o *ArtifactDistributionResponse) HasHidden() bool { + if o != nil && !IsNil(o.Hidden) { + return true + } + + return false +} + +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *ArtifactDistributionResponse) SetHidden(v bool) { + o.Hidden = &v +} + func (o ArtifactDistributionResponse) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -282,17 +320,20 @@ func (o ArtifactDistributionResponse) MarshalJSON() ([]byte, error) { func (o ArtifactDistributionResponse) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - // skip: pulp_created is readOnly + // skip: base_url is readOnly if !IsNil(o.PulpLabels) { toSerialize["pulp_labels"] = o.PulpLabels } - // skip: base_url is readOnly toSerialize["base_path"] = o.BasePath // skip: pulp_href is readOnly + // skip: pulp_created is readOnly if o.ContentGuard.IsSet() { toSerialize["content_guard"] = o.ContentGuard.Get() } toSerialize["name"] = o.Name + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } return toSerialize, nil } diff --git a/release/model_container_container_distribution.go b/release/model_container_container_distribution.go index 7f28c051..ef071578 100644 --- a/release/model_container_container_distribution.go +++ b/release/model_container_container_distribution.go @@ -21,14 +21,16 @@ var _ MappedNullable = &ContainerContainerDistribution{} // ContainerContainerDistribution A serializer for ContainerDistribution. type ContainerContainerDistribution struct { PulpLabels *map[string]string `json:"pulp_labels,omitempty"` - // The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") - BasePath string `json:"base_path"` // The latest RepositoryVersion for this Repository will be served. Repository NullableString `json:"repository,omitempty"` + // The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") + BasePath string `json:"base_path"` // An optional content-guard. If none is specified, a default one will be used. ContentGuard *string `json:"content_guard,omitempty"` // A unique name. Ex, `rawhide` and `stable`. Name string `json:"name"` + // Whether this distribution should be shown in the content app. + Hidden *bool `json:"hidden,omitempty"` // RepositoryVersion to be served RepositoryVersion NullableString `json:"repository_version,omitempty"` // Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. @@ -45,6 +47,8 @@ func NewContainerContainerDistribution(basePath string, name string) *ContainerC this := ContainerContainerDistribution{} this.BasePath = basePath this.Name = name + var hidden bool = false + this.Hidden = &hidden return &this } @@ -53,6 +57,8 @@ func NewContainerContainerDistribution(basePath string, name string) *ContainerC // but it doesn't guarantee that properties required by API are set func NewContainerContainerDistributionWithDefaults() *ContainerContainerDistribution { this := ContainerContainerDistribution{} + var hidden bool = false + this.Hidden = &hidden return &this } @@ -88,30 +94,6 @@ func (o *ContainerContainerDistribution) SetPulpLabels(v map[string]string) { o.PulpLabels = &v } -// GetBasePath returns the BasePath field value -func (o *ContainerContainerDistribution) GetBasePath() string { - if o == nil { - var ret string - return ret - } - - return o.BasePath -} - -// GetBasePathOk returns a tuple with the BasePath field value -// and a boolean to check if the value has been set. -func (o *ContainerContainerDistribution) GetBasePathOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.BasePath, true -} - -// SetBasePath sets field value -func (o *ContainerContainerDistribution) SetBasePath(v string) { - o.BasePath = v -} - // GetRepository returns the Repository field value if set, zero value otherwise (both if not set or set to explicit null). func (o *ContainerContainerDistribution) GetRepository() string { if o == nil || IsNil(o.Repository.Get()) { @@ -154,6 +136,30 @@ func (o *ContainerContainerDistribution) UnsetRepository() { o.Repository.Unset() } +// GetBasePath returns the BasePath field value +func (o *ContainerContainerDistribution) GetBasePath() string { + if o == nil { + var ret string + return ret + } + + return o.BasePath +} + +// GetBasePathOk returns a tuple with the BasePath field value +// and a boolean to check if the value has been set. +func (o *ContainerContainerDistribution) GetBasePathOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.BasePath, true +} + +// SetBasePath sets field value +func (o *ContainerContainerDistribution) SetBasePath(v string) { + o.BasePath = v +} + // GetContentGuard returns the ContentGuard field value if set, zero value otherwise. func (o *ContainerContainerDistribution) GetContentGuard() string { if o == nil || IsNil(o.ContentGuard) { @@ -210,6 +216,38 @@ func (o *ContainerContainerDistribution) SetName(v string) { o.Name = v } +// GetHidden returns the Hidden field value if set, zero value otherwise. +func (o *ContainerContainerDistribution) GetHidden() bool { + if o == nil || IsNil(o.Hidden) { + var ret bool + return ret + } + return *o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContainerContainerDistribution) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { + return nil, false + } + return o.Hidden, true +} + +// HasHidden returns a boolean if a field has been set. +func (o *ContainerContainerDistribution) HasHidden() bool { + if o != nil && !IsNil(o.Hidden) { + return true + } + + return false +} + +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *ContainerContainerDistribution) SetHidden(v bool) { + o.Hidden = &v +} + // GetRepositoryVersion returns the RepositoryVersion field value if set, zero value otherwise (both if not set or set to explicit null). func (o *ContainerContainerDistribution) GetRepositoryVersion() string { if o == nil || IsNil(o.RepositoryVersion.Get()) { @@ -339,14 +377,17 @@ func (o ContainerContainerDistribution) ToMap() (map[string]interface{}, error) if !IsNil(o.PulpLabels) { toSerialize["pulp_labels"] = o.PulpLabels } - toSerialize["base_path"] = o.BasePath if o.Repository.IsSet() { toSerialize["repository"] = o.Repository.Get() } + toSerialize["base_path"] = o.BasePath if !IsNil(o.ContentGuard) { toSerialize["content_guard"] = o.ContentGuard } toSerialize["name"] = o.Name + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } if o.RepositoryVersion.IsSet() { toSerialize["repository_version"] = o.RepositoryVersion.Get() } diff --git a/release/model_container_container_distribution_response.go b/release/model_container_container_distribution_response.go index eb1db708..8eabd715 100644 --- a/release/model_container_container_distribution_response.go +++ b/release/model_container_container_distribution_response.go @@ -21,18 +21,20 @@ var _ MappedNullable = &ContainerContainerDistributionResponse{} // ContainerContainerDistributionResponse A serializer for ContainerDistribution. type ContainerContainerDistributionResponse struct { - // Timestamp of creation. - PulpCreated *time.Time `json:"pulp_created,omitempty"` PulpLabels *map[string]string `json:"pulp_labels,omitempty"` - // The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") - BasePath string `json:"base_path"` // The latest RepositoryVersion for this Repository will be served. Repository NullableString `json:"repository,omitempty"` + // The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") + BasePath string `json:"base_path"` PulpHref *string `json:"pulp_href,omitempty"` + // Timestamp of creation. + PulpCreated *time.Time `json:"pulp_created,omitempty"` // An optional content-guard. If none is specified, a default one will be used. ContentGuard *string `json:"content_guard,omitempty"` // A unique name. Ex, `rawhide` and `stable`. Name string `json:"name"` + // Whether this distribution should be shown in the content app. + Hidden *bool `json:"hidden,omitempty"` // RepositoryVersion to be served RepositoryVersion NullableString `json:"repository_version,omitempty"` // The Registry hostname/name/ to use with docker pull command defined by this distribution. @@ -53,6 +55,8 @@ func NewContainerContainerDistributionResponse(basePath string, name string) *Co this := ContainerContainerDistributionResponse{} this.BasePath = basePath this.Name = name + var hidden bool = false + this.Hidden = &hidden return &this } @@ -61,41 +65,11 @@ func NewContainerContainerDistributionResponse(basePath string, name string) *Co // but it doesn't guarantee that properties required by API are set func NewContainerContainerDistributionResponseWithDefaults() *ContainerContainerDistributionResponse { this := ContainerContainerDistributionResponse{} + var hidden bool = false + this.Hidden = &hidden return &this } -// GetPulpCreated returns the PulpCreated field value if set, zero value otherwise. -func (o *ContainerContainerDistributionResponse) GetPulpCreated() time.Time { - if o == nil || IsNil(o.PulpCreated) { - var ret time.Time - return ret - } - return *o.PulpCreated -} - -// GetPulpCreatedOk returns a tuple with the PulpCreated field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ContainerContainerDistributionResponse) GetPulpCreatedOk() (*time.Time, bool) { - if o == nil || IsNil(o.PulpCreated) { - return nil, false - } - return o.PulpCreated, true -} - -// HasPulpCreated returns a boolean if a field has been set. -func (o *ContainerContainerDistributionResponse) HasPulpCreated() bool { - if o != nil && !IsNil(o.PulpCreated) { - return true - } - - return false -} - -// SetPulpCreated gets a reference to the given time.Time and assigns it to the PulpCreated field. -func (o *ContainerContainerDistributionResponse) SetPulpCreated(v time.Time) { - o.PulpCreated = &v -} - // GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. func (o *ContainerContainerDistributionResponse) GetPulpLabels() map[string]string { if o == nil || IsNil(o.PulpLabels) { @@ -128,30 +102,6 @@ func (o *ContainerContainerDistributionResponse) SetPulpLabels(v map[string]stri o.PulpLabels = &v } -// GetBasePath returns the BasePath field value -func (o *ContainerContainerDistributionResponse) GetBasePath() string { - if o == nil { - var ret string - return ret - } - - return o.BasePath -} - -// GetBasePathOk returns a tuple with the BasePath field value -// and a boolean to check if the value has been set. -func (o *ContainerContainerDistributionResponse) GetBasePathOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.BasePath, true -} - -// SetBasePath sets field value -func (o *ContainerContainerDistributionResponse) SetBasePath(v string) { - o.BasePath = v -} - // GetRepository returns the Repository field value if set, zero value otherwise (both if not set or set to explicit null). func (o *ContainerContainerDistributionResponse) GetRepository() string { if o == nil || IsNil(o.Repository.Get()) { @@ -194,6 +144,30 @@ func (o *ContainerContainerDistributionResponse) UnsetRepository() { o.Repository.Unset() } +// GetBasePath returns the BasePath field value +func (o *ContainerContainerDistributionResponse) GetBasePath() string { + if o == nil { + var ret string + return ret + } + + return o.BasePath +} + +// GetBasePathOk returns a tuple with the BasePath field value +// and a boolean to check if the value has been set. +func (o *ContainerContainerDistributionResponse) GetBasePathOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.BasePath, true +} + +// SetBasePath sets field value +func (o *ContainerContainerDistributionResponse) SetBasePath(v string) { + o.BasePath = v +} + // GetPulpHref returns the PulpHref field value if set, zero value otherwise. func (o *ContainerContainerDistributionResponse) GetPulpHref() string { if o == nil || IsNil(o.PulpHref) { @@ -226,6 +200,38 @@ func (o *ContainerContainerDistributionResponse) SetPulpHref(v string) { o.PulpHref = &v } +// GetPulpCreated returns the PulpCreated field value if set, zero value otherwise. +func (o *ContainerContainerDistributionResponse) GetPulpCreated() time.Time { + if o == nil || IsNil(o.PulpCreated) { + var ret time.Time + return ret + } + return *o.PulpCreated +} + +// GetPulpCreatedOk returns a tuple with the PulpCreated field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContainerContainerDistributionResponse) GetPulpCreatedOk() (*time.Time, bool) { + if o == nil || IsNil(o.PulpCreated) { + return nil, false + } + return o.PulpCreated, true +} + +// HasPulpCreated returns a boolean if a field has been set. +func (o *ContainerContainerDistributionResponse) HasPulpCreated() bool { + if o != nil && !IsNil(o.PulpCreated) { + return true + } + + return false +} + +// SetPulpCreated gets a reference to the given time.Time and assigns it to the PulpCreated field. +func (o *ContainerContainerDistributionResponse) SetPulpCreated(v time.Time) { + o.PulpCreated = &v +} + // GetContentGuard returns the ContentGuard field value if set, zero value otherwise. func (o *ContainerContainerDistributionResponse) GetContentGuard() string { if o == nil || IsNil(o.ContentGuard) { @@ -282,6 +288,38 @@ func (o *ContainerContainerDistributionResponse) SetName(v string) { o.Name = v } +// GetHidden returns the Hidden field value if set, zero value otherwise. +func (o *ContainerContainerDistributionResponse) GetHidden() bool { + if o == nil || IsNil(o.Hidden) { + var ret bool + return ret + } + return *o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContainerContainerDistributionResponse) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { + return nil, false + } + return o.Hidden, true +} + +// HasHidden returns a boolean if a field has been set. +func (o *ContainerContainerDistributionResponse) HasHidden() bool { + if o != nil && !IsNil(o.Hidden) { + return true + } + + return false +} + +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *ContainerContainerDistributionResponse) SetHidden(v bool) { + o.Hidden = &v +} + // GetRepositoryVersion returns the RepositoryVersion field value if set, zero value otherwise (both if not set or set to explicit null). func (o *ContainerContainerDistributionResponse) GetRepositoryVersion() string { if o == nil || IsNil(o.RepositoryVersion.Get()) { @@ -472,19 +510,22 @@ func (o ContainerContainerDistributionResponse) MarshalJSON() ([]byte, error) { func (o ContainerContainerDistributionResponse) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - // skip: pulp_created is readOnly if !IsNil(o.PulpLabels) { toSerialize["pulp_labels"] = o.PulpLabels } - toSerialize["base_path"] = o.BasePath if o.Repository.IsSet() { toSerialize["repository"] = o.Repository.Get() } + toSerialize["base_path"] = o.BasePath // skip: pulp_href is readOnly + // skip: pulp_created is readOnly if !IsNil(o.ContentGuard) { toSerialize["content_guard"] = o.ContentGuard } toSerialize["name"] = o.Name + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } if o.RepositoryVersion.IsSet() { toSerialize["repository_version"] = o.RepositoryVersion.Get() } diff --git a/release/model_container_container_push_repository.go b/release/model_container_container_push_repository.go index 940fd42a..3b39adc2 100644 --- a/release/model_container_container_push_repository.go +++ b/release/model_container_container_push_repository.go @@ -20,15 +20,15 @@ var _ MappedNullable = &ContainerContainerPushRepository{} // ContainerContainerPushRepository Serializer for Container Push Repositories. type ContainerContainerPushRepository struct { + PulpLabels *map[string]string `json:"pulp_labels,omitempty"` // A reference to an associated signing service. ManifestSigningService NullableString `json:"manifest_signing_service,omitempty"` - PulpLabels *map[string]string `json:"pulp_labels,omitempty"` - // An optional description. - Description NullableString `json:"description,omitempty"` // Retain X versions of the repository. Default is null which retains all versions. RetainRepoVersions NullableInt64 `json:"retain_repo_versions,omitempty"` // A unique name for this repository. Name string `json:"name"` + // An optional description. + Description NullableString `json:"description,omitempty"` } // NewContainerContainerPushRepository instantiates a new ContainerContainerPushRepository object @@ -49,48 +49,6 @@ func NewContainerContainerPushRepositoryWithDefaults() *ContainerContainerPushRe return &this } -// GetManifestSigningService returns the ManifestSigningService field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ContainerContainerPushRepository) GetManifestSigningService() string { - if o == nil || IsNil(o.ManifestSigningService.Get()) { - var ret string - return ret - } - return *o.ManifestSigningService.Get() -} - -// GetManifestSigningServiceOk returns a tuple with the ManifestSigningService field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *ContainerContainerPushRepository) GetManifestSigningServiceOk() (*string, bool) { - if o == nil { - return nil, false - } - return o.ManifestSigningService.Get(), o.ManifestSigningService.IsSet() -} - -// HasManifestSigningService returns a boolean if a field has been set. -func (o *ContainerContainerPushRepository) HasManifestSigningService() bool { - if o != nil && o.ManifestSigningService.IsSet() { - return true - } - - return false -} - -// SetManifestSigningService gets a reference to the given NullableString and assigns it to the ManifestSigningService field. -func (o *ContainerContainerPushRepository) SetManifestSigningService(v string) { - o.ManifestSigningService.Set(&v) -} -// SetManifestSigningServiceNil sets the value for ManifestSigningService to be an explicit nil -func (o *ContainerContainerPushRepository) SetManifestSigningServiceNil() { - o.ManifestSigningService.Set(nil) -} - -// UnsetManifestSigningService ensures that no value is present for ManifestSigningService, not even an explicit nil -func (o *ContainerContainerPushRepository) UnsetManifestSigningService() { - o.ManifestSigningService.Unset() -} - // GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. func (o *ContainerContainerPushRepository) GetPulpLabels() map[string]string { if o == nil || IsNil(o.PulpLabels) { @@ -123,46 +81,46 @@ func (o *ContainerContainerPushRepository) SetPulpLabels(v map[string]string) { o.PulpLabels = &v } -// GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ContainerContainerPushRepository) GetDescription() string { - if o == nil || IsNil(o.Description.Get()) { +// GetManifestSigningService returns the ManifestSigningService field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ContainerContainerPushRepository) GetManifestSigningService() string { + if o == nil || IsNil(o.ManifestSigningService.Get()) { var ret string return ret } - return *o.Description.Get() + return *o.ManifestSigningService.Get() } -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// GetManifestSigningServiceOk returns a tuple with the ManifestSigningService field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *ContainerContainerPushRepository) GetDescriptionOk() (*string, bool) { +func (o *ContainerContainerPushRepository) GetManifestSigningServiceOk() (*string, bool) { if o == nil { return nil, false } - return o.Description.Get(), o.Description.IsSet() + return o.ManifestSigningService.Get(), o.ManifestSigningService.IsSet() } -// HasDescription returns a boolean if a field has been set. -func (o *ContainerContainerPushRepository) HasDescription() bool { - if o != nil && o.Description.IsSet() { +// HasManifestSigningService returns a boolean if a field has been set. +func (o *ContainerContainerPushRepository) HasManifestSigningService() bool { + if o != nil && o.ManifestSigningService.IsSet() { return true } return false } -// SetDescription gets a reference to the given NullableString and assigns it to the Description field. -func (o *ContainerContainerPushRepository) SetDescription(v string) { - o.Description.Set(&v) +// SetManifestSigningService gets a reference to the given NullableString and assigns it to the ManifestSigningService field. +func (o *ContainerContainerPushRepository) SetManifestSigningService(v string) { + o.ManifestSigningService.Set(&v) } -// SetDescriptionNil sets the value for Description to be an explicit nil -func (o *ContainerContainerPushRepository) SetDescriptionNil() { - o.Description.Set(nil) +// SetManifestSigningServiceNil sets the value for ManifestSigningService to be an explicit nil +func (o *ContainerContainerPushRepository) SetManifestSigningServiceNil() { + o.ManifestSigningService.Set(nil) } -// UnsetDescription ensures that no value is present for Description, not even an explicit nil -func (o *ContainerContainerPushRepository) UnsetDescription() { - o.Description.Unset() +// UnsetManifestSigningService ensures that no value is present for ManifestSigningService, not even an explicit nil +func (o *ContainerContainerPushRepository) UnsetManifestSigningService() { + o.ManifestSigningService.Unset() } // GetRetainRepoVersions returns the RetainRepoVersions field value if set, zero value otherwise (both if not set or set to explicit null). @@ -231,6 +189,48 @@ func (o *ContainerContainerPushRepository) SetName(v string) { o.Name = v } +// GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ContainerContainerPushRepository) GetDescription() string { + if o == nil || IsNil(o.Description.Get()) { + var ret string + return ret + } + return *o.Description.Get() +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ContainerContainerPushRepository) GetDescriptionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Description.Get(), o.Description.IsSet() +} + +// HasDescription returns a boolean if a field has been set. +func (o *ContainerContainerPushRepository) HasDescription() bool { + if o != nil && o.Description.IsSet() { + return true + } + + return false +} + +// SetDescription gets a reference to the given NullableString and assigns it to the Description field. +func (o *ContainerContainerPushRepository) SetDescription(v string) { + o.Description.Set(&v) +} +// SetDescriptionNil sets the value for Description to be an explicit nil +func (o *ContainerContainerPushRepository) SetDescriptionNil() { + o.Description.Set(nil) +} + +// UnsetDescription ensures that no value is present for Description, not even an explicit nil +func (o *ContainerContainerPushRepository) UnsetDescription() { + o.Description.Unset() +} + func (o ContainerContainerPushRepository) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -241,19 +241,19 @@ func (o ContainerContainerPushRepository) MarshalJSON() ([]byte, error) { func (o ContainerContainerPushRepository) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - if o.ManifestSigningService.IsSet() { - toSerialize["manifest_signing_service"] = o.ManifestSigningService.Get() - } if !IsNil(o.PulpLabels) { toSerialize["pulp_labels"] = o.PulpLabels } - if o.Description.IsSet() { - toSerialize["description"] = o.Description.Get() + if o.ManifestSigningService.IsSet() { + toSerialize["manifest_signing_service"] = o.ManifestSigningService.Get() } if o.RetainRepoVersions.IsSet() { toSerialize["retain_repo_versions"] = o.RetainRepoVersions.Get() } toSerialize["name"] = o.Name + if o.Description.IsSet() { + toSerialize["description"] = o.Description.Get() + } return toSerialize, nil } diff --git a/release/model_container_container_push_repository_response.go b/release/model_container_container_push_repository_response.go index 3a4cf067..9a7f10f8 100644 --- a/release/model_container_container_push_repository_response.go +++ b/release/model_container_container_push_repository_response.go @@ -21,20 +21,20 @@ var _ MappedNullable = &ContainerContainerPushRepositoryResponse{} // ContainerContainerPushRepositoryResponse Serializer for Container Push Repositories. type ContainerContainerPushRepositoryResponse struct { - // Timestamp of creation. - PulpCreated *time.Time `json:"pulp_created,omitempty"` + PulpLabels *map[string]string `json:"pulp_labels,omitempty"` // A reference to an associated signing service. ManifestSigningService NullableString `json:"manifest_signing_service,omitempty"` - PulpLabels *map[string]string `json:"pulp_labels,omitempty"` - // An optional description. - Description NullableString `json:"description,omitempty"` - LatestVersionHref *string `json:"latest_version_href,omitempty"` - PulpHref *string `json:"pulp_href,omitempty"` // Retain X versions of the repository. Default is null which retains all versions. RetainRepoVersions NullableInt64 `json:"retain_repo_versions,omitempty"` + PulpHref *string `json:"pulp_href,omitempty"` + // Timestamp of creation. + PulpCreated *time.Time `json:"pulp_created,omitempty"` // A unique name for this repository. Name string `json:"name"` VersionsHref *string `json:"versions_href,omitempty"` + // An optional description. + Description NullableString `json:"description,omitempty"` + LatestVersionHref *string `json:"latest_version_href,omitempty"` } // NewContainerContainerPushRepositoryResponse instantiates a new ContainerContainerPushRepositoryResponse object @@ -55,36 +55,36 @@ func NewContainerContainerPushRepositoryResponseWithDefaults() *ContainerContain return &this } -// GetPulpCreated returns the PulpCreated field value if set, zero value otherwise. -func (o *ContainerContainerPushRepositoryResponse) GetPulpCreated() time.Time { - if o == nil || IsNil(o.PulpCreated) { - var ret time.Time +// GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. +func (o *ContainerContainerPushRepositoryResponse) GetPulpLabels() map[string]string { + if o == nil || IsNil(o.PulpLabels) { + var ret map[string]string return ret } - return *o.PulpCreated + return *o.PulpLabels } -// GetPulpCreatedOk returns a tuple with the PulpCreated field value if set, nil otherwise +// GetPulpLabelsOk returns a tuple with the PulpLabels field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ContainerContainerPushRepositoryResponse) GetPulpCreatedOk() (*time.Time, bool) { - if o == nil || IsNil(o.PulpCreated) { +func (o *ContainerContainerPushRepositoryResponse) GetPulpLabelsOk() (*map[string]string, bool) { + if o == nil || IsNil(o.PulpLabels) { return nil, false } - return o.PulpCreated, true + return o.PulpLabels, true } -// HasPulpCreated returns a boolean if a field has been set. -func (o *ContainerContainerPushRepositoryResponse) HasPulpCreated() bool { - if o != nil && !IsNil(o.PulpCreated) { +// HasPulpLabels returns a boolean if a field has been set. +func (o *ContainerContainerPushRepositoryResponse) HasPulpLabels() bool { + if o != nil && !IsNil(o.PulpLabels) { return true } return false } -// SetPulpCreated gets a reference to the given time.Time and assigns it to the PulpCreated field. -func (o *ContainerContainerPushRepositoryResponse) SetPulpCreated(v time.Time) { - o.PulpCreated = &v +// SetPulpLabels gets a reference to the given map[string]string and assigns it to the PulpLabels field. +func (o *ContainerContainerPushRepositoryResponse) SetPulpLabels(v map[string]string) { + o.PulpLabels = &v } // GetManifestSigningService returns the ManifestSigningService field value if set, zero value otherwise (both if not set or set to explicit null). @@ -129,110 +129,46 @@ func (o *ContainerContainerPushRepositoryResponse) UnsetManifestSigningService() o.ManifestSigningService.Unset() } -// GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. -func (o *ContainerContainerPushRepositoryResponse) GetPulpLabels() map[string]string { - if o == nil || IsNil(o.PulpLabels) { - var ret map[string]string - return ret - } - return *o.PulpLabels -} - -// GetPulpLabelsOk returns a tuple with the PulpLabels field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ContainerContainerPushRepositoryResponse) GetPulpLabelsOk() (*map[string]string, bool) { - if o == nil || IsNil(o.PulpLabels) { - return nil, false - } - return o.PulpLabels, true -} - -// HasPulpLabels returns a boolean if a field has been set. -func (o *ContainerContainerPushRepositoryResponse) HasPulpLabels() bool { - if o != nil && !IsNil(o.PulpLabels) { - return true - } - - return false -} - -// SetPulpLabels gets a reference to the given map[string]string and assigns it to the PulpLabels field. -func (o *ContainerContainerPushRepositoryResponse) SetPulpLabels(v map[string]string) { - o.PulpLabels = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ContainerContainerPushRepositoryResponse) GetDescription() string { - if o == nil || IsNil(o.Description.Get()) { - var ret string +// GetRetainRepoVersions returns the RetainRepoVersions field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ContainerContainerPushRepositoryResponse) GetRetainRepoVersions() int64 { + if o == nil || IsNil(o.RetainRepoVersions.Get()) { + var ret int64 return ret } - return *o.Description.Get() + return *o.RetainRepoVersions.Get() } -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// GetRetainRepoVersionsOk returns a tuple with the RetainRepoVersions field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *ContainerContainerPushRepositoryResponse) GetDescriptionOk() (*string, bool) { +func (o *ContainerContainerPushRepositoryResponse) GetRetainRepoVersionsOk() (*int64, bool) { if o == nil { return nil, false } - return o.Description.Get(), o.Description.IsSet() + return o.RetainRepoVersions.Get(), o.RetainRepoVersions.IsSet() } -// HasDescription returns a boolean if a field has been set. -func (o *ContainerContainerPushRepositoryResponse) HasDescription() bool { - if o != nil && o.Description.IsSet() { +// HasRetainRepoVersions returns a boolean if a field has been set. +func (o *ContainerContainerPushRepositoryResponse) HasRetainRepoVersions() bool { + if o != nil && o.RetainRepoVersions.IsSet() { return true } return false } -// SetDescription gets a reference to the given NullableString and assigns it to the Description field. -func (o *ContainerContainerPushRepositoryResponse) SetDescription(v string) { - o.Description.Set(&v) -} -// SetDescriptionNil sets the value for Description to be an explicit nil -func (o *ContainerContainerPushRepositoryResponse) SetDescriptionNil() { - o.Description.Set(nil) -} - -// UnsetDescription ensures that no value is present for Description, not even an explicit nil -func (o *ContainerContainerPushRepositoryResponse) UnsetDescription() { - o.Description.Unset() -} - -// GetLatestVersionHref returns the LatestVersionHref field value if set, zero value otherwise. -func (o *ContainerContainerPushRepositoryResponse) GetLatestVersionHref() string { - if o == nil || IsNil(o.LatestVersionHref) { - var ret string - return ret - } - return *o.LatestVersionHref -} - -// GetLatestVersionHrefOk returns a tuple with the LatestVersionHref field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ContainerContainerPushRepositoryResponse) GetLatestVersionHrefOk() (*string, bool) { - if o == nil || IsNil(o.LatestVersionHref) { - return nil, false - } - return o.LatestVersionHref, true +// SetRetainRepoVersions gets a reference to the given NullableInt64 and assigns it to the RetainRepoVersions field. +func (o *ContainerContainerPushRepositoryResponse) SetRetainRepoVersions(v int64) { + o.RetainRepoVersions.Set(&v) } - -// HasLatestVersionHref returns a boolean if a field has been set. -func (o *ContainerContainerPushRepositoryResponse) HasLatestVersionHref() bool { - if o != nil && !IsNil(o.LatestVersionHref) { - return true - } - - return false +// SetRetainRepoVersionsNil sets the value for RetainRepoVersions to be an explicit nil +func (o *ContainerContainerPushRepositoryResponse) SetRetainRepoVersionsNil() { + o.RetainRepoVersions.Set(nil) } -// SetLatestVersionHref gets a reference to the given string and assigns it to the LatestVersionHref field. -func (o *ContainerContainerPushRepositoryResponse) SetLatestVersionHref(v string) { - o.LatestVersionHref = &v +// UnsetRetainRepoVersions ensures that no value is present for RetainRepoVersions, not even an explicit nil +func (o *ContainerContainerPushRepositoryResponse) UnsetRetainRepoVersions() { + o.RetainRepoVersions.Unset() } // GetPulpHref returns the PulpHref field value if set, zero value otherwise. @@ -267,46 +203,36 @@ func (o *ContainerContainerPushRepositoryResponse) SetPulpHref(v string) { o.PulpHref = &v } -// GetRetainRepoVersions returns the RetainRepoVersions field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *ContainerContainerPushRepositoryResponse) GetRetainRepoVersions() int64 { - if o == nil || IsNil(o.RetainRepoVersions.Get()) { - var ret int64 +// GetPulpCreated returns the PulpCreated field value if set, zero value otherwise. +func (o *ContainerContainerPushRepositoryResponse) GetPulpCreated() time.Time { + if o == nil || IsNil(o.PulpCreated) { + var ret time.Time return ret } - return *o.RetainRepoVersions.Get() + return *o.PulpCreated } -// GetRetainRepoVersionsOk returns a tuple with the RetainRepoVersions field value if set, nil otherwise +// GetPulpCreatedOk returns a tuple with the PulpCreated field value if set, nil otherwise // and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *ContainerContainerPushRepositoryResponse) GetRetainRepoVersionsOk() (*int64, bool) { - if o == nil { +func (o *ContainerContainerPushRepositoryResponse) GetPulpCreatedOk() (*time.Time, bool) { + if o == nil || IsNil(o.PulpCreated) { return nil, false } - return o.RetainRepoVersions.Get(), o.RetainRepoVersions.IsSet() + return o.PulpCreated, true } -// HasRetainRepoVersions returns a boolean if a field has been set. -func (o *ContainerContainerPushRepositoryResponse) HasRetainRepoVersions() bool { - if o != nil && o.RetainRepoVersions.IsSet() { +// HasPulpCreated returns a boolean if a field has been set. +func (o *ContainerContainerPushRepositoryResponse) HasPulpCreated() bool { + if o != nil && !IsNil(o.PulpCreated) { return true } return false } -// SetRetainRepoVersions gets a reference to the given NullableInt64 and assigns it to the RetainRepoVersions field. -func (o *ContainerContainerPushRepositoryResponse) SetRetainRepoVersions(v int64) { - o.RetainRepoVersions.Set(&v) -} -// SetRetainRepoVersionsNil sets the value for RetainRepoVersions to be an explicit nil -func (o *ContainerContainerPushRepositoryResponse) SetRetainRepoVersionsNil() { - o.RetainRepoVersions.Set(nil) -} - -// UnsetRetainRepoVersions ensures that no value is present for RetainRepoVersions, not even an explicit nil -func (o *ContainerContainerPushRepositoryResponse) UnsetRetainRepoVersions() { - o.RetainRepoVersions.Unset() +// SetPulpCreated gets a reference to the given time.Time and assigns it to the PulpCreated field. +func (o *ContainerContainerPushRepositoryResponse) SetPulpCreated(v time.Time) { + o.PulpCreated = &v } // GetName returns the Name field value @@ -365,6 +291,80 @@ func (o *ContainerContainerPushRepositoryResponse) SetVersionsHref(v string) { o.VersionsHref = &v } +// GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ContainerContainerPushRepositoryResponse) GetDescription() string { + if o == nil || IsNil(o.Description.Get()) { + var ret string + return ret + } + return *o.Description.Get() +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ContainerContainerPushRepositoryResponse) GetDescriptionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Description.Get(), o.Description.IsSet() +} + +// HasDescription returns a boolean if a field has been set. +func (o *ContainerContainerPushRepositoryResponse) HasDescription() bool { + if o != nil && o.Description.IsSet() { + return true + } + + return false +} + +// SetDescription gets a reference to the given NullableString and assigns it to the Description field. +func (o *ContainerContainerPushRepositoryResponse) SetDescription(v string) { + o.Description.Set(&v) +} +// SetDescriptionNil sets the value for Description to be an explicit nil +func (o *ContainerContainerPushRepositoryResponse) SetDescriptionNil() { + o.Description.Set(nil) +} + +// UnsetDescription ensures that no value is present for Description, not even an explicit nil +func (o *ContainerContainerPushRepositoryResponse) UnsetDescription() { + o.Description.Unset() +} + +// GetLatestVersionHref returns the LatestVersionHref field value if set, zero value otherwise. +func (o *ContainerContainerPushRepositoryResponse) GetLatestVersionHref() string { + if o == nil || IsNil(o.LatestVersionHref) { + var ret string + return ret + } + return *o.LatestVersionHref +} + +// GetLatestVersionHrefOk returns a tuple with the LatestVersionHref field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ContainerContainerPushRepositoryResponse) GetLatestVersionHrefOk() (*string, bool) { + if o == nil || IsNil(o.LatestVersionHref) { + return nil, false + } + return o.LatestVersionHref, true +} + +// HasLatestVersionHref returns a boolean if a field has been set. +func (o *ContainerContainerPushRepositoryResponse) HasLatestVersionHref() bool { + if o != nil && !IsNil(o.LatestVersionHref) { + return true + } + + return false +} + +// SetLatestVersionHref gets a reference to the given string and assigns it to the LatestVersionHref field. +func (o *ContainerContainerPushRepositoryResponse) SetLatestVersionHref(v string) { + o.LatestVersionHref = &v +} + func (o ContainerContainerPushRepositoryResponse) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -375,23 +375,23 @@ func (o ContainerContainerPushRepositoryResponse) MarshalJSON() ([]byte, error) func (o ContainerContainerPushRepositoryResponse) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - // skip: pulp_created is readOnly - if o.ManifestSigningService.IsSet() { - toSerialize["manifest_signing_service"] = o.ManifestSigningService.Get() - } if !IsNil(o.PulpLabels) { toSerialize["pulp_labels"] = o.PulpLabels } - if o.Description.IsSet() { - toSerialize["description"] = o.Description.Get() + if o.ManifestSigningService.IsSet() { + toSerialize["manifest_signing_service"] = o.ManifestSigningService.Get() } - // skip: latest_version_href is readOnly - // skip: pulp_href is readOnly if o.RetainRepoVersions.IsSet() { toSerialize["retain_repo_versions"] = o.RetainRepoVersions.Get() } + // skip: pulp_href is readOnly + // skip: pulp_created is readOnly toSerialize["name"] = o.Name // skip: versions_href is readOnly + if o.Description.IsSet() { + toSerialize["description"] = o.Description.Get() + } + // skip: latest_version_href is readOnly return toSerialize, nil } diff --git a/release/model_deb_apt_distribution.go b/release/model_deb_apt_distribution.go index 4a8fff84..d13623e6 100644 --- a/release/model_deb_apt_distribution.go +++ b/release/model_deb_apt_distribution.go @@ -24,6 +24,8 @@ type DebAptDistribution struct { BasePath string `json:"base_path"` // An optional content-guard. ContentGuard NullableString `json:"content_guard,omitempty"` + // Whether this distribution should be shown in the content app. + Hidden *bool `json:"hidden,omitempty"` PulpLabels *map[string]string `json:"pulp_labels,omitempty"` // A unique name. Ex, `rawhide` and `stable`. Name string `json:"name"` @@ -40,6 +42,8 @@ type DebAptDistribution struct { func NewDebAptDistribution(basePath string, name string) *DebAptDistribution { this := DebAptDistribution{} this.BasePath = basePath + var hidden bool = false + this.Hidden = &hidden this.Name = name return &this } @@ -49,6 +53,8 @@ func NewDebAptDistribution(basePath string, name string) *DebAptDistribution { // but it doesn't guarantee that properties required by API are set func NewDebAptDistributionWithDefaults() *DebAptDistribution { this := DebAptDistribution{} + var hidden bool = false + this.Hidden = &hidden return &this } @@ -118,6 +124,38 @@ func (o *DebAptDistribution) UnsetContentGuard() { o.ContentGuard.Unset() } +// GetHidden returns the Hidden field value if set, zero value otherwise. +func (o *DebAptDistribution) GetHidden() bool { + if o == nil || IsNil(o.Hidden) { + var ret bool + return ret + } + return *o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebAptDistribution) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { + return nil, false + } + return o.Hidden, true +} + +// HasHidden returns a boolean if a field has been set. +func (o *DebAptDistribution) HasHidden() bool { + if o != nil && !IsNil(o.Hidden) { + return true + } + + return false +} + +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *DebAptDistribution) SetHidden(v bool) { + o.Hidden = &v +} + // GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. func (o *DebAptDistribution) GetPulpLabels() map[string]string { if o == nil || IsNil(o.PulpLabels) { @@ -272,6 +310,9 @@ func (o DebAptDistribution) ToMap() (map[string]interface{}, error) { if o.ContentGuard.IsSet() { toSerialize["content_guard"] = o.ContentGuard.Get() } + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } if !IsNil(o.PulpLabels) { toSerialize["pulp_labels"] = o.PulpLabels } diff --git a/release/model_deb_apt_distribution_response.go b/release/model_deb_apt_distribution_response.go index 9922e4e2..acba0e1f 100644 --- a/release/model_deb_apt_distribution_response.go +++ b/release/model_deb_apt_distribution_response.go @@ -30,6 +30,8 @@ type DebAptDistributionResponse struct { BaseUrl *string `json:"base_url,omitempty"` // An optional content-guard. ContentGuard NullableString `json:"content_guard,omitempty"` + // Whether this distribution should be shown in the content app. + Hidden *bool `json:"hidden,omitempty"` PulpLabels *map[string]string `json:"pulp_labels,omitempty"` // A unique name. Ex, `rawhide` and `stable`. Name string `json:"name"` @@ -46,6 +48,8 @@ type DebAptDistributionResponse struct { func NewDebAptDistributionResponse(basePath string, name string) *DebAptDistributionResponse { this := DebAptDistributionResponse{} this.BasePath = basePath + var hidden bool = false + this.Hidden = &hidden this.Name = name return &this } @@ -55,6 +59,8 @@ func NewDebAptDistributionResponse(basePath string, name string) *DebAptDistribu // but it doesn't guarantee that properties required by API are set func NewDebAptDistributionResponseWithDefaults() *DebAptDistributionResponse { this := DebAptDistributionResponse{} + var hidden bool = false + this.Hidden = &hidden return &this } @@ -220,6 +226,38 @@ func (o *DebAptDistributionResponse) UnsetContentGuard() { o.ContentGuard.Unset() } +// GetHidden returns the Hidden field value if set, zero value otherwise. +func (o *DebAptDistributionResponse) GetHidden() bool { + if o == nil || IsNil(o.Hidden) { + var ret bool + return ret + } + return *o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebAptDistributionResponse) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { + return nil, false + } + return o.Hidden, true +} + +// HasHidden returns a boolean if a field has been set. +func (o *DebAptDistributionResponse) HasHidden() bool { + if o != nil && !IsNil(o.Hidden) { + return true + } + + return false +} + +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *DebAptDistributionResponse) SetHidden(v bool) { + o.Hidden = &v +} + // GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. func (o *DebAptDistributionResponse) GetPulpLabels() map[string]string { if o == nil || IsNil(o.PulpLabels) { @@ -377,6 +415,9 @@ func (o DebAptDistributionResponse) ToMap() (map[string]interface{}, error) { if o.ContentGuard.IsSet() { toSerialize["content_guard"] = o.ContentGuard.Get() } + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } if !IsNil(o.PulpLabels) { toSerialize["pulp_labels"] = o.PulpLabels } diff --git a/release/model_distribution_response.go b/release/model_distribution_response.go index eecd529d..e2e8a5f1 100644 --- a/release/model_distribution_response.go +++ b/release/model_distribution_response.go @@ -30,6 +30,8 @@ type DistributionResponse struct { BaseUrl *string `json:"base_url,omitempty"` // An optional content-guard. ContentGuard NullableString `json:"content_guard,omitempty"` + // Whether this distribution should be shown in the content app. + Hidden *bool `json:"hidden,omitempty"` PulpLabels *map[string]string `json:"pulp_labels,omitempty"` // A unique name. Ex, `rawhide` and `stable`. Name string `json:"name"` @@ -44,6 +46,8 @@ type DistributionResponse struct { func NewDistributionResponse(basePath string, name string) *DistributionResponse { this := DistributionResponse{} this.BasePath = basePath + var hidden bool = false + this.Hidden = &hidden this.Name = name return &this } @@ -53,6 +57,8 @@ func NewDistributionResponse(basePath string, name string) *DistributionResponse // but it doesn't guarantee that properties required by API are set func NewDistributionResponseWithDefaults() *DistributionResponse { this := DistributionResponse{} + var hidden bool = false + this.Hidden = &hidden return &this } @@ -218,6 +224,38 @@ func (o *DistributionResponse) UnsetContentGuard() { o.ContentGuard.Unset() } +// GetHidden returns the Hidden field value if set, zero value otherwise. +func (o *DistributionResponse) GetHidden() bool { + if o == nil || IsNil(o.Hidden) { + var ret bool + return ret + } + return *o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DistributionResponse) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { + return nil, false + } + return o.Hidden, true +} + +// HasHidden returns a boolean if a field has been set. +func (o *DistributionResponse) HasHidden() bool { + if o != nil && !IsNil(o.Hidden) { + return true + } + + return false +} + +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *DistributionResponse) SetHidden(v bool) { + o.Hidden = &v +} + // GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. func (o *DistributionResponse) GetPulpLabels() map[string]string { if o == nil || IsNil(o.PulpLabels) { @@ -333,6 +371,9 @@ func (o DistributionResponse) ToMap() (map[string]interface{}, error) { if o.ContentGuard.IsSet() { toSerialize["content_guard"] = o.ContentGuard.Get() } + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } if !IsNil(o.PulpLabels) { toSerialize["pulp_labels"] = o.PulpLabels } diff --git a/release/model_file_file_distribution.go b/release/model_file_file_distribution.go index 25c97c42..5603f1d3 100644 --- a/release/model_file_file_distribution.go +++ b/release/model_file_file_distribution.go @@ -24,6 +24,8 @@ type FileFileDistribution struct { BasePath string `json:"base_path"` // An optional content-guard. ContentGuard NullableString `json:"content_guard,omitempty"` + // Whether this distribution should be shown in the content app. + Hidden *bool `json:"hidden,omitempty"` PulpLabels *map[string]string `json:"pulp_labels,omitempty"` // A unique name. Ex, `rawhide` and `stable`. Name string `json:"name"` @@ -40,6 +42,8 @@ type FileFileDistribution struct { func NewFileFileDistribution(basePath string, name string) *FileFileDistribution { this := FileFileDistribution{} this.BasePath = basePath + var hidden bool = false + this.Hidden = &hidden this.Name = name return &this } @@ -49,6 +53,8 @@ func NewFileFileDistribution(basePath string, name string) *FileFileDistribution // but it doesn't guarantee that properties required by API are set func NewFileFileDistributionWithDefaults() *FileFileDistribution { this := FileFileDistribution{} + var hidden bool = false + this.Hidden = &hidden return &this } @@ -118,6 +124,38 @@ func (o *FileFileDistribution) UnsetContentGuard() { o.ContentGuard.Unset() } +// GetHidden returns the Hidden field value if set, zero value otherwise. +func (o *FileFileDistribution) GetHidden() bool { + if o == nil || IsNil(o.Hidden) { + var ret bool + return ret + } + return *o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *FileFileDistribution) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { + return nil, false + } + return o.Hidden, true +} + +// HasHidden returns a boolean if a field has been set. +func (o *FileFileDistribution) HasHidden() bool { + if o != nil && !IsNil(o.Hidden) { + return true + } + + return false +} + +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *FileFileDistribution) SetHidden(v bool) { + o.Hidden = &v +} + // GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. func (o *FileFileDistribution) GetPulpLabels() map[string]string { if o == nil || IsNil(o.PulpLabels) { @@ -272,6 +310,9 @@ func (o FileFileDistribution) ToMap() (map[string]interface{}, error) { if o.ContentGuard.IsSet() { toSerialize["content_guard"] = o.ContentGuard.Get() } + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } if !IsNil(o.PulpLabels) { toSerialize["pulp_labels"] = o.PulpLabels } diff --git a/release/model_file_file_distribution_response.go b/release/model_file_file_distribution_response.go index dd5d7d94..d39e42f0 100644 --- a/release/model_file_file_distribution_response.go +++ b/release/model_file_file_distribution_response.go @@ -30,6 +30,8 @@ type FileFileDistributionResponse struct { BaseUrl *string `json:"base_url,omitempty"` // An optional content-guard. ContentGuard NullableString `json:"content_guard,omitempty"` + // Whether this distribution should be shown in the content app. + Hidden *bool `json:"hidden,omitempty"` PulpLabels *map[string]string `json:"pulp_labels,omitempty"` // A unique name. Ex, `rawhide` and `stable`. Name string `json:"name"` @@ -46,6 +48,8 @@ type FileFileDistributionResponse struct { func NewFileFileDistributionResponse(basePath string, name string) *FileFileDistributionResponse { this := FileFileDistributionResponse{} this.BasePath = basePath + var hidden bool = false + this.Hidden = &hidden this.Name = name return &this } @@ -55,6 +59,8 @@ func NewFileFileDistributionResponse(basePath string, name string) *FileFileDist // but it doesn't guarantee that properties required by API are set func NewFileFileDistributionResponseWithDefaults() *FileFileDistributionResponse { this := FileFileDistributionResponse{} + var hidden bool = false + this.Hidden = &hidden return &this } @@ -220,6 +226,38 @@ func (o *FileFileDistributionResponse) UnsetContentGuard() { o.ContentGuard.Unset() } +// GetHidden returns the Hidden field value if set, zero value otherwise. +func (o *FileFileDistributionResponse) GetHidden() bool { + if o == nil || IsNil(o.Hidden) { + var ret bool + return ret + } + return *o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *FileFileDistributionResponse) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { + return nil, false + } + return o.Hidden, true +} + +// HasHidden returns a boolean if a field has been set. +func (o *FileFileDistributionResponse) HasHidden() bool { + if o != nil && !IsNil(o.Hidden) { + return true + } + + return false +} + +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *FileFileDistributionResponse) SetHidden(v bool) { + o.Hidden = &v +} + // GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. func (o *FileFileDistributionResponse) GetPulpLabels() map[string]string { if o == nil || IsNil(o.PulpLabels) { @@ -377,6 +415,9 @@ func (o FileFileDistributionResponse) ToMap() (map[string]interface{}, error) { if o.ContentGuard.IsSet() { toSerialize["content_guard"] = o.ContentGuard.Get() } + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } if !IsNil(o.PulpLabels) { toSerialize["pulp_labels"] = o.PulpLabels } diff --git a/release/model_maven_maven_distribution.go b/release/model_maven_maven_distribution.go index 73529f3a..a603906a 100644 --- a/release/model_maven_maven_distribution.go +++ b/release/model_maven_maven_distribution.go @@ -24,6 +24,8 @@ type MavenMavenDistribution struct { BasePath string `json:"base_path"` // An optional content-guard. ContentGuard NullableString `json:"content_guard,omitempty"` + // Whether this distribution should be shown in the content app. + Hidden *bool `json:"hidden,omitempty"` PulpLabels *map[string]string `json:"pulp_labels,omitempty"` // A unique name. Ex, `rawhide` and `stable`. Name string `json:"name"` @@ -40,6 +42,8 @@ type MavenMavenDistribution struct { func NewMavenMavenDistribution(basePath string, name string) *MavenMavenDistribution { this := MavenMavenDistribution{} this.BasePath = basePath + var hidden bool = false + this.Hidden = &hidden this.Name = name return &this } @@ -49,6 +53,8 @@ func NewMavenMavenDistribution(basePath string, name string) *MavenMavenDistribu // but it doesn't guarantee that properties required by API are set func NewMavenMavenDistributionWithDefaults() *MavenMavenDistribution { this := MavenMavenDistribution{} + var hidden bool = false + this.Hidden = &hidden return &this } @@ -118,6 +124,38 @@ func (o *MavenMavenDistribution) UnsetContentGuard() { o.ContentGuard.Unset() } +// GetHidden returns the Hidden field value if set, zero value otherwise. +func (o *MavenMavenDistribution) GetHidden() bool { + if o == nil || IsNil(o.Hidden) { + var ret bool + return ret + } + return *o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenMavenDistribution) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { + return nil, false + } + return o.Hidden, true +} + +// HasHidden returns a boolean if a field has been set. +func (o *MavenMavenDistribution) HasHidden() bool { + if o != nil && !IsNil(o.Hidden) { + return true + } + + return false +} + +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *MavenMavenDistribution) SetHidden(v bool) { + o.Hidden = &v +} + // GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. func (o *MavenMavenDistribution) GetPulpLabels() map[string]string { if o == nil || IsNil(o.PulpLabels) { @@ -272,6 +310,9 @@ func (o MavenMavenDistribution) ToMap() (map[string]interface{}, error) { if o.ContentGuard.IsSet() { toSerialize["content_guard"] = o.ContentGuard.Get() } + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } if !IsNil(o.PulpLabels) { toSerialize["pulp_labels"] = o.PulpLabels } diff --git a/release/model_maven_maven_distribution_response.go b/release/model_maven_maven_distribution_response.go index 2f77c7ed..6af8e44c 100644 --- a/release/model_maven_maven_distribution_response.go +++ b/release/model_maven_maven_distribution_response.go @@ -30,6 +30,8 @@ type MavenMavenDistributionResponse struct { BaseUrl *string `json:"base_url,omitempty"` // An optional content-guard. ContentGuard NullableString `json:"content_guard,omitempty"` + // Whether this distribution should be shown in the content app. + Hidden *bool `json:"hidden,omitempty"` PulpLabels *map[string]string `json:"pulp_labels,omitempty"` // A unique name. Ex, `rawhide` and `stable`. Name string `json:"name"` @@ -46,6 +48,8 @@ type MavenMavenDistributionResponse struct { func NewMavenMavenDistributionResponse(basePath string, name string) *MavenMavenDistributionResponse { this := MavenMavenDistributionResponse{} this.BasePath = basePath + var hidden bool = false + this.Hidden = &hidden this.Name = name return &this } @@ -55,6 +59,8 @@ func NewMavenMavenDistributionResponse(basePath string, name string) *MavenMaven // but it doesn't guarantee that properties required by API are set func NewMavenMavenDistributionResponseWithDefaults() *MavenMavenDistributionResponse { this := MavenMavenDistributionResponse{} + var hidden bool = false + this.Hidden = &hidden return &this } @@ -220,6 +226,38 @@ func (o *MavenMavenDistributionResponse) UnsetContentGuard() { o.ContentGuard.Unset() } +// GetHidden returns the Hidden field value if set, zero value otherwise. +func (o *MavenMavenDistributionResponse) GetHidden() bool { + if o == nil || IsNil(o.Hidden) { + var ret bool + return ret + } + return *o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenMavenDistributionResponse) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { + return nil, false + } + return o.Hidden, true +} + +// HasHidden returns a boolean if a field has been set. +func (o *MavenMavenDistributionResponse) HasHidden() bool { + if o != nil && !IsNil(o.Hidden) { + return true + } + + return false +} + +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *MavenMavenDistributionResponse) SetHidden(v bool) { + o.Hidden = &v +} + // GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. func (o *MavenMavenDistributionResponse) GetPulpLabels() map[string]string { if o == nil || IsNil(o.PulpLabels) { @@ -377,6 +415,9 @@ func (o MavenMavenDistributionResponse) ToMap() (map[string]interface{}, error) if o.ContentGuard.IsSet() { toSerialize["content_guard"] = o.ContentGuard.Get() } + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } if !IsNil(o.PulpLabels) { toSerialize["pulp_labels"] = o.PulpLabels } diff --git a/release/model_ostree_ostree_distribution.go b/release/model_ostree_ostree_distribution.go index e41b5dd9..2972683d 100644 --- a/release/model_ostree_ostree_distribution.go +++ b/release/model_ostree_ostree_distribution.go @@ -24,6 +24,8 @@ type OstreeOstreeDistribution struct { BasePath string `json:"base_path"` // An optional content-guard. ContentGuard NullableString `json:"content_guard,omitempty"` + // Whether this distribution should be shown in the content app. + Hidden *bool `json:"hidden,omitempty"` PulpLabels *map[string]string `json:"pulp_labels,omitempty"` // A unique name. Ex, `rawhide` and `stable`. Name string `json:"name"` @@ -40,6 +42,8 @@ type OstreeOstreeDistribution struct { func NewOstreeOstreeDistribution(basePath string, name string) *OstreeOstreeDistribution { this := OstreeOstreeDistribution{} this.BasePath = basePath + var hidden bool = false + this.Hidden = &hidden this.Name = name return &this } @@ -49,6 +53,8 @@ func NewOstreeOstreeDistribution(basePath string, name string) *OstreeOstreeDist // but it doesn't guarantee that properties required by API are set func NewOstreeOstreeDistributionWithDefaults() *OstreeOstreeDistribution { this := OstreeOstreeDistribution{} + var hidden bool = false + this.Hidden = &hidden return &this } @@ -118,6 +124,38 @@ func (o *OstreeOstreeDistribution) UnsetContentGuard() { o.ContentGuard.Unset() } +// GetHidden returns the Hidden field value if set, zero value otherwise. +func (o *OstreeOstreeDistribution) GetHidden() bool { + if o == nil || IsNil(o.Hidden) { + var ret bool + return ret + } + return *o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OstreeOstreeDistribution) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { + return nil, false + } + return o.Hidden, true +} + +// HasHidden returns a boolean if a field has been set. +func (o *OstreeOstreeDistribution) HasHidden() bool { + if o != nil && !IsNil(o.Hidden) { + return true + } + + return false +} + +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *OstreeOstreeDistribution) SetHidden(v bool) { + o.Hidden = &v +} + // GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. func (o *OstreeOstreeDistribution) GetPulpLabels() map[string]string { if o == nil || IsNil(o.PulpLabels) { @@ -272,6 +310,9 @@ func (o OstreeOstreeDistribution) ToMap() (map[string]interface{}, error) { if o.ContentGuard.IsSet() { toSerialize["content_guard"] = o.ContentGuard.Get() } + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } if !IsNil(o.PulpLabels) { toSerialize["pulp_labels"] = o.PulpLabels } diff --git a/release/model_ostree_ostree_distribution_response.go b/release/model_ostree_ostree_distribution_response.go index 3be47adb..7cae6752 100644 --- a/release/model_ostree_ostree_distribution_response.go +++ b/release/model_ostree_ostree_distribution_response.go @@ -30,6 +30,8 @@ type OstreeOstreeDistributionResponse struct { BaseUrl *string `json:"base_url,omitempty"` // An optional content-guard. ContentGuard NullableString `json:"content_guard,omitempty"` + // Whether this distribution should be shown in the content app. + Hidden *bool `json:"hidden,omitempty"` PulpLabels *map[string]string `json:"pulp_labels,omitempty"` // A unique name. Ex, `rawhide` and `stable`. Name string `json:"name"` @@ -46,6 +48,8 @@ type OstreeOstreeDistributionResponse struct { func NewOstreeOstreeDistributionResponse(basePath string, name string) *OstreeOstreeDistributionResponse { this := OstreeOstreeDistributionResponse{} this.BasePath = basePath + var hidden bool = false + this.Hidden = &hidden this.Name = name return &this } @@ -55,6 +59,8 @@ func NewOstreeOstreeDistributionResponse(basePath string, name string) *OstreeOs // but it doesn't guarantee that properties required by API are set func NewOstreeOstreeDistributionResponseWithDefaults() *OstreeOstreeDistributionResponse { this := OstreeOstreeDistributionResponse{} + var hidden bool = false + this.Hidden = &hidden return &this } @@ -220,6 +226,38 @@ func (o *OstreeOstreeDistributionResponse) UnsetContentGuard() { o.ContentGuard.Unset() } +// GetHidden returns the Hidden field value if set, zero value otherwise. +func (o *OstreeOstreeDistributionResponse) GetHidden() bool { + if o == nil || IsNil(o.Hidden) { + var ret bool + return ret + } + return *o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OstreeOstreeDistributionResponse) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { + return nil, false + } + return o.Hidden, true +} + +// HasHidden returns a boolean if a field has been set. +func (o *OstreeOstreeDistributionResponse) HasHidden() bool { + if o != nil && !IsNil(o.Hidden) { + return true + } + + return false +} + +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *OstreeOstreeDistributionResponse) SetHidden(v bool) { + o.Hidden = &v +} + // GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. func (o *OstreeOstreeDistributionResponse) GetPulpLabels() map[string]string { if o == nil || IsNil(o.PulpLabels) { @@ -377,6 +415,9 @@ func (o OstreeOstreeDistributionResponse) ToMap() (map[string]interface{}, error if o.ContentGuard.IsSet() { toSerialize["content_guard"] = o.ContentGuard.Get() } + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } if !IsNil(o.PulpLabels) { toSerialize["pulp_labels"] = o.PulpLabels } diff --git a/release/model_patchedansible_git_remote.go b/release/model_patchedansible_git_remote.go index 6c1e4735..1a85ea44 100644 --- a/release/model_patchedansible_git_remote.go +++ b/release/model_patchedansible_git_remote.go @@ -20,45 +20,45 @@ var _ MappedNullable = &PatchedansibleGitRemote{} // PatchedansibleGitRemote A serializer for Git Collection Remotes. type PatchedansibleGitRemote struct { + PulpLabels *map[string]string `json:"pulp_labels,omitempty"` // Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. MaxRetries NullableInt64 `json:"max_retries,omitempty"` - // The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. - ProxyPassword NullableString `json:"proxy_password,omitempty"` - // A PEM encoded client certificate used for authentication. - ClientCert NullableString `json:"client_cert,omitempty"` - PulpLabels *map[string]string `json:"pulp_labels,omitempty"` - // aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. - TotalTimeout NullableFloat64 `json:"total_timeout,omitempty"` - // The URL of an external content source. - Url *string `json:"url,omitempty"` - // If True, TLS peer validation must be performed. - TlsValidation *bool `json:"tls_validation,omitempty"` // The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. Password NullableString `json:"password,omitempty"` - // 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. - SockConnectTimeout NullableFloat64 `json:"sock_connect_timeout,omitempty"` + // A PEM encoded CA certificate used to validate the server certificate presented by the remote server. + CaCert NullableString `json:"ca_cert,omitempty"` + // 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. + SockReadTimeout NullableFloat64 `json:"sock_read_timeout,omitempty"` + // aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. + TotalTimeout NullableFloat64 `json:"total_timeout,omitempty"` // Total number of simultaneous connections. If not set then the default value will be used. DownloadConcurrency NullableInt64 `json:"download_concurrency,omitempty"` - // A unique name for this remote. - Name *string `json:"name,omitempty"` - // aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. - ConnectTimeout NullableFloat64 `json:"connect_timeout,omitempty"` + // The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. + ProxyPassword NullableString `json:"proxy_password,omitempty"` + // The username to authenticte to the proxy. + ProxyUsername NullableString `json:"proxy_username,omitempty"` + // 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. + SockConnectTimeout NullableFloat64 `json:"sock_connect_timeout,omitempty"` + // If True, TLS peer validation must be performed. + TlsValidation *bool `json:"tls_validation,omitempty"` // Headers for aiohttp.Clientsession Headers []map[string]interface{} `json:"headers,omitempty"` + // A PEM encoded private key used for authentication. + ClientKey NullableString `json:"client_key,omitempty"` + // aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. + ConnectTimeout NullableFloat64 `json:"connect_timeout,omitempty"` // The proxy URL. Format: scheme://host:port ProxyUrl NullableString `json:"proxy_url,omitempty"` // Limits requests per second for each concurrent downloader RateLimit NullableInt64 `json:"rate_limit,omitempty"` - // A PEM encoded CA certificate used to validate the server certificate presented by the remote server. - CaCert NullableString `json:"ca_cert,omitempty"` - // 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. - SockReadTimeout NullableFloat64 `json:"sock_read_timeout,omitempty"` - // The username to authenticte to the proxy. - ProxyUsername NullableString `json:"proxy_username,omitempty"` + // A unique name for this remote. + Name *string `json:"name,omitempty"` // The username to be used for authentication when syncing. Username NullableString `json:"username,omitempty"` - // A PEM encoded private key used for authentication. - ClientKey NullableString `json:"client_key,omitempty"` + // A PEM encoded client certificate used for authentication. + ClientCert NullableString `json:"client_cert,omitempty"` + // The URL of an external content source. + Url *string `json:"url,omitempty"` // If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. MetadataOnly *bool `json:"metadata_only,omitempty"` // A git ref. e.g.: branch, tag, or commit sha. @@ -82,6 +82,38 @@ func NewPatchedansibleGitRemoteWithDefaults() *PatchedansibleGitRemote { return &this } +// GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. +func (o *PatchedansibleGitRemote) GetPulpLabels() map[string]string { + if o == nil || IsNil(o.PulpLabels) { + var ret map[string]string + return ret + } + return *o.PulpLabels +} + +// GetPulpLabelsOk returns a tuple with the PulpLabels field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedansibleGitRemote) GetPulpLabelsOk() (*map[string]string, bool) { + if o == nil || IsNil(o.PulpLabels) { + return nil, false + } + return o.PulpLabels, true +} + +// HasPulpLabels returns a boolean if a field has been set. +func (o *PatchedansibleGitRemote) HasPulpLabels() bool { + if o != nil && !IsNil(o.PulpLabels) { + return true + } + + return false +} + +// SetPulpLabels gets a reference to the given map[string]string and assigns it to the PulpLabels field. +func (o *PatchedansibleGitRemote) SetPulpLabels(v map[string]string) { + o.PulpLabels = &v +} + // GetMaxRetries returns the MaxRetries field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedansibleGitRemote) GetMaxRetries() int64 { if o == nil || IsNil(o.MaxRetries.Get()) { @@ -124,120 +156,130 @@ func (o *PatchedansibleGitRemote) UnsetMaxRetries() { o.MaxRetries.Unset() } -// GetProxyPassword returns the ProxyPassword field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedansibleGitRemote) GetProxyPassword() string { - if o == nil || IsNil(o.ProxyPassword.Get()) { +// GetPassword returns the Password field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedansibleGitRemote) GetPassword() string { + if o == nil || IsNil(o.Password.Get()) { var ret string return ret } - return *o.ProxyPassword.Get() + return *o.Password.Get() } -// GetProxyPasswordOk returns a tuple with the ProxyPassword field value if set, nil otherwise +// GetPasswordOk returns a tuple with the Password field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PatchedansibleGitRemote) GetProxyPasswordOk() (*string, bool) { +func (o *PatchedansibleGitRemote) GetPasswordOk() (*string, bool) { if o == nil { return nil, false } - return o.ProxyPassword.Get(), o.ProxyPassword.IsSet() + return o.Password.Get(), o.Password.IsSet() } -// HasProxyPassword returns a boolean if a field has been set. -func (o *PatchedansibleGitRemote) HasProxyPassword() bool { - if o != nil && o.ProxyPassword.IsSet() { +// HasPassword returns a boolean if a field has been set. +func (o *PatchedansibleGitRemote) HasPassword() bool { + if o != nil && o.Password.IsSet() { return true } return false } -// SetProxyPassword gets a reference to the given NullableString and assigns it to the ProxyPassword field. -func (o *PatchedansibleGitRemote) SetProxyPassword(v string) { - o.ProxyPassword.Set(&v) +// SetPassword gets a reference to the given NullableString and assigns it to the Password field. +func (o *PatchedansibleGitRemote) SetPassword(v string) { + o.Password.Set(&v) } -// SetProxyPasswordNil sets the value for ProxyPassword to be an explicit nil -func (o *PatchedansibleGitRemote) SetProxyPasswordNil() { - o.ProxyPassword.Set(nil) +// SetPasswordNil sets the value for Password to be an explicit nil +func (o *PatchedansibleGitRemote) SetPasswordNil() { + o.Password.Set(nil) } -// UnsetProxyPassword ensures that no value is present for ProxyPassword, not even an explicit nil -func (o *PatchedansibleGitRemote) UnsetProxyPassword() { - o.ProxyPassword.Unset() +// UnsetPassword ensures that no value is present for Password, not even an explicit nil +func (o *PatchedansibleGitRemote) UnsetPassword() { + o.Password.Unset() } -// GetClientCert returns the ClientCert field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedansibleGitRemote) GetClientCert() string { - if o == nil || IsNil(o.ClientCert.Get()) { +// GetCaCert returns the CaCert field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedansibleGitRemote) GetCaCert() string { + if o == nil || IsNil(o.CaCert.Get()) { var ret string return ret } - return *o.ClientCert.Get() + return *o.CaCert.Get() } -// GetClientCertOk returns a tuple with the ClientCert field value if set, nil otherwise +// GetCaCertOk returns a tuple with the CaCert field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PatchedansibleGitRemote) GetClientCertOk() (*string, bool) { +func (o *PatchedansibleGitRemote) GetCaCertOk() (*string, bool) { if o == nil { return nil, false } - return o.ClientCert.Get(), o.ClientCert.IsSet() + return o.CaCert.Get(), o.CaCert.IsSet() } -// HasClientCert returns a boolean if a field has been set. -func (o *PatchedansibleGitRemote) HasClientCert() bool { - if o != nil && o.ClientCert.IsSet() { +// HasCaCert returns a boolean if a field has been set. +func (o *PatchedansibleGitRemote) HasCaCert() bool { + if o != nil && o.CaCert.IsSet() { return true } return false } -// SetClientCert gets a reference to the given NullableString and assigns it to the ClientCert field. -func (o *PatchedansibleGitRemote) SetClientCert(v string) { - o.ClientCert.Set(&v) +// SetCaCert gets a reference to the given NullableString and assigns it to the CaCert field. +func (o *PatchedansibleGitRemote) SetCaCert(v string) { + o.CaCert.Set(&v) } -// SetClientCertNil sets the value for ClientCert to be an explicit nil -func (o *PatchedansibleGitRemote) SetClientCertNil() { - o.ClientCert.Set(nil) +// SetCaCertNil sets the value for CaCert to be an explicit nil +func (o *PatchedansibleGitRemote) SetCaCertNil() { + o.CaCert.Set(nil) } -// UnsetClientCert ensures that no value is present for ClientCert, not even an explicit nil -func (o *PatchedansibleGitRemote) UnsetClientCert() { - o.ClientCert.Unset() +// UnsetCaCert ensures that no value is present for CaCert, not even an explicit nil +func (o *PatchedansibleGitRemote) UnsetCaCert() { + o.CaCert.Unset() } -// GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. -func (o *PatchedansibleGitRemote) GetPulpLabels() map[string]string { - if o == nil || IsNil(o.PulpLabels) { - var ret map[string]string +// GetSockReadTimeout returns the SockReadTimeout field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedansibleGitRemote) GetSockReadTimeout() float64 { + if o == nil || IsNil(o.SockReadTimeout.Get()) { + var ret float64 return ret } - return *o.PulpLabels + return *o.SockReadTimeout.Get() } -// GetPulpLabelsOk returns a tuple with the PulpLabels field value if set, nil otherwise +// GetSockReadTimeoutOk returns a tuple with the SockReadTimeout field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedansibleGitRemote) GetPulpLabelsOk() (*map[string]string, bool) { - if o == nil || IsNil(o.PulpLabels) { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedansibleGitRemote) GetSockReadTimeoutOk() (*float64, bool) { + if o == nil { return nil, false } - return o.PulpLabels, true + return o.SockReadTimeout.Get(), o.SockReadTimeout.IsSet() } -// HasPulpLabels returns a boolean if a field has been set. -func (o *PatchedansibleGitRemote) HasPulpLabels() bool { - if o != nil && !IsNil(o.PulpLabels) { +// HasSockReadTimeout returns a boolean if a field has been set. +func (o *PatchedansibleGitRemote) HasSockReadTimeout() bool { + if o != nil && o.SockReadTimeout.IsSet() { return true } return false } -// SetPulpLabels gets a reference to the given map[string]string and assigns it to the PulpLabels field. -func (o *PatchedansibleGitRemote) SetPulpLabels(v map[string]string) { - o.PulpLabels = &v +// SetSockReadTimeout gets a reference to the given NullableFloat64 and assigns it to the SockReadTimeout field. +func (o *PatchedansibleGitRemote) SetSockReadTimeout(v float64) { + o.SockReadTimeout.Set(&v) +} +// SetSockReadTimeoutNil sets the value for SockReadTimeout to be an explicit nil +func (o *PatchedansibleGitRemote) SetSockReadTimeoutNil() { + o.SockReadTimeout.Set(nil) +} + +// UnsetSockReadTimeout ensures that no value is present for SockReadTimeout, not even an explicit nil +func (o *PatchedansibleGitRemote) UnsetSockReadTimeout() { + o.SockReadTimeout.Unset() } // GetTotalTimeout returns the TotalTimeout field value if set, zero value otherwise (both if not set or set to explicit null). @@ -282,110 +324,130 @@ func (o *PatchedansibleGitRemote) UnsetTotalTimeout() { o.TotalTimeout.Unset() } -// GetUrl returns the Url field value if set, zero value otherwise. -func (o *PatchedansibleGitRemote) GetUrl() string { - if o == nil || IsNil(o.Url) { - var ret string +// GetDownloadConcurrency returns the DownloadConcurrency field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedansibleGitRemote) GetDownloadConcurrency() int64 { + if o == nil || IsNil(o.DownloadConcurrency.Get()) { + var ret int64 return ret } - return *o.Url + return *o.DownloadConcurrency.Get() } -// GetUrlOk returns a tuple with the Url field value if set, nil otherwise +// GetDownloadConcurrencyOk returns a tuple with the DownloadConcurrency field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedansibleGitRemote) GetUrlOk() (*string, bool) { - if o == nil || IsNil(o.Url) { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedansibleGitRemote) GetDownloadConcurrencyOk() (*int64, bool) { + if o == nil { return nil, false } - return o.Url, true + return o.DownloadConcurrency.Get(), o.DownloadConcurrency.IsSet() } -// HasUrl returns a boolean if a field has been set. -func (o *PatchedansibleGitRemote) HasUrl() bool { - if o != nil && !IsNil(o.Url) { +// HasDownloadConcurrency returns a boolean if a field has been set. +func (o *PatchedansibleGitRemote) HasDownloadConcurrency() bool { + if o != nil && o.DownloadConcurrency.IsSet() { return true } return false } -// SetUrl gets a reference to the given string and assigns it to the Url field. -func (o *PatchedansibleGitRemote) SetUrl(v string) { - o.Url = &v +// SetDownloadConcurrency gets a reference to the given NullableInt64 and assigns it to the DownloadConcurrency field. +func (o *PatchedansibleGitRemote) SetDownloadConcurrency(v int64) { + o.DownloadConcurrency.Set(&v) +} +// SetDownloadConcurrencyNil sets the value for DownloadConcurrency to be an explicit nil +func (o *PatchedansibleGitRemote) SetDownloadConcurrencyNil() { + o.DownloadConcurrency.Set(nil) } -// GetTlsValidation returns the TlsValidation field value if set, zero value otherwise. -func (o *PatchedansibleGitRemote) GetTlsValidation() bool { - if o == nil || IsNil(o.TlsValidation) { - var ret bool +// UnsetDownloadConcurrency ensures that no value is present for DownloadConcurrency, not even an explicit nil +func (o *PatchedansibleGitRemote) UnsetDownloadConcurrency() { + o.DownloadConcurrency.Unset() +} + +// GetProxyPassword returns the ProxyPassword field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedansibleGitRemote) GetProxyPassword() string { + if o == nil || IsNil(o.ProxyPassword.Get()) { + var ret string return ret } - return *o.TlsValidation + return *o.ProxyPassword.Get() } -// GetTlsValidationOk returns a tuple with the TlsValidation field value if set, nil otherwise +// GetProxyPasswordOk returns a tuple with the ProxyPassword field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedansibleGitRemote) GetTlsValidationOk() (*bool, bool) { - if o == nil || IsNil(o.TlsValidation) { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedansibleGitRemote) GetProxyPasswordOk() (*string, bool) { + if o == nil { return nil, false } - return o.TlsValidation, true + return o.ProxyPassword.Get(), o.ProxyPassword.IsSet() } -// HasTlsValidation returns a boolean if a field has been set. -func (o *PatchedansibleGitRemote) HasTlsValidation() bool { - if o != nil && !IsNil(o.TlsValidation) { +// HasProxyPassword returns a boolean if a field has been set. +func (o *PatchedansibleGitRemote) HasProxyPassword() bool { + if o != nil && o.ProxyPassword.IsSet() { return true } return false } -// SetTlsValidation gets a reference to the given bool and assigns it to the TlsValidation field. -func (o *PatchedansibleGitRemote) SetTlsValidation(v bool) { - o.TlsValidation = &v +// SetProxyPassword gets a reference to the given NullableString and assigns it to the ProxyPassword field. +func (o *PatchedansibleGitRemote) SetProxyPassword(v string) { + o.ProxyPassword.Set(&v) +} +// SetProxyPasswordNil sets the value for ProxyPassword to be an explicit nil +func (o *PatchedansibleGitRemote) SetProxyPasswordNil() { + o.ProxyPassword.Set(nil) } -// GetPassword returns the Password field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedansibleGitRemote) GetPassword() string { - if o == nil || IsNil(o.Password.Get()) { +// UnsetProxyPassword ensures that no value is present for ProxyPassword, not even an explicit nil +func (o *PatchedansibleGitRemote) UnsetProxyPassword() { + o.ProxyPassword.Unset() +} + +// GetProxyUsername returns the ProxyUsername field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedansibleGitRemote) GetProxyUsername() string { + if o == nil || IsNil(o.ProxyUsername.Get()) { var ret string return ret } - return *o.Password.Get() + return *o.ProxyUsername.Get() } -// GetPasswordOk returns a tuple with the Password field value if set, nil otherwise +// GetProxyUsernameOk returns a tuple with the ProxyUsername field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PatchedansibleGitRemote) GetPasswordOk() (*string, bool) { +func (o *PatchedansibleGitRemote) GetProxyUsernameOk() (*string, bool) { if o == nil { return nil, false } - return o.Password.Get(), o.Password.IsSet() + return o.ProxyUsername.Get(), o.ProxyUsername.IsSet() } -// HasPassword returns a boolean if a field has been set. -func (o *PatchedansibleGitRemote) HasPassword() bool { - if o != nil && o.Password.IsSet() { +// HasProxyUsername returns a boolean if a field has been set. +func (o *PatchedansibleGitRemote) HasProxyUsername() bool { + if o != nil && o.ProxyUsername.IsSet() { return true } return false } -// SetPassword gets a reference to the given NullableString and assigns it to the Password field. -func (o *PatchedansibleGitRemote) SetPassword(v string) { - o.Password.Set(&v) +// SetProxyUsername gets a reference to the given NullableString and assigns it to the ProxyUsername field. +func (o *PatchedansibleGitRemote) SetProxyUsername(v string) { + o.ProxyUsername.Set(&v) } -// SetPasswordNil sets the value for Password to be an explicit nil -func (o *PatchedansibleGitRemote) SetPasswordNil() { - o.Password.Set(nil) +// SetProxyUsernameNil sets the value for ProxyUsername to be an explicit nil +func (o *PatchedansibleGitRemote) SetProxyUsernameNil() { + o.ProxyUsername.Set(nil) } -// UnsetPassword ensures that no value is present for Password, not even an explicit nil -func (o *PatchedansibleGitRemote) UnsetPassword() { - o.Password.Unset() +// UnsetProxyUsername ensures that no value is present for ProxyUsername, not even an explicit nil +func (o *PatchedansibleGitRemote) UnsetProxyUsername() { + o.ProxyUsername.Unset() } // GetSockConnectTimeout returns the SockConnectTimeout field value if set, zero value otherwise (both if not set or set to explicit null). @@ -430,78 +492,110 @@ func (o *PatchedansibleGitRemote) UnsetSockConnectTimeout() { o.SockConnectTimeout.Unset() } -// GetDownloadConcurrency returns the DownloadConcurrency field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedansibleGitRemote) GetDownloadConcurrency() int64 { - if o == nil || IsNil(o.DownloadConcurrency.Get()) { - var ret int64 +// GetTlsValidation returns the TlsValidation field value if set, zero value otherwise. +func (o *PatchedansibleGitRemote) GetTlsValidation() bool { + if o == nil || IsNil(o.TlsValidation) { + var ret bool return ret } - return *o.DownloadConcurrency.Get() + return *o.TlsValidation } -// GetDownloadConcurrencyOk returns a tuple with the DownloadConcurrency field value if set, nil otherwise +// GetTlsValidationOk returns a tuple with the TlsValidation field value if set, nil otherwise // and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PatchedansibleGitRemote) GetDownloadConcurrencyOk() (*int64, bool) { - if o == nil { +func (o *PatchedansibleGitRemote) GetTlsValidationOk() (*bool, bool) { + if o == nil || IsNil(o.TlsValidation) { return nil, false } - return o.DownloadConcurrency.Get(), o.DownloadConcurrency.IsSet() + return o.TlsValidation, true } -// HasDownloadConcurrency returns a boolean if a field has been set. -func (o *PatchedansibleGitRemote) HasDownloadConcurrency() bool { - if o != nil && o.DownloadConcurrency.IsSet() { +// HasTlsValidation returns a boolean if a field has been set. +func (o *PatchedansibleGitRemote) HasTlsValidation() bool { + if o != nil && !IsNil(o.TlsValidation) { return true } return false } -// SetDownloadConcurrency gets a reference to the given NullableInt64 and assigns it to the DownloadConcurrency field. -func (o *PatchedansibleGitRemote) SetDownloadConcurrency(v int64) { - o.DownloadConcurrency.Set(&v) +// SetTlsValidation gets a reference to the given bool and assigns it to the TlsValidation field. +func (o *PatchedansibleGitRemote) SetTlsValidation(v bool) { + o.TlsValidation = &v } -// SetDownloadConcurrencyNil sets the value for DownloadConcurrency to be an explicit nil -func (o *PatchedansibleGitRemote) SetDownloadConcurrencyNil() { - o.DownloadConcurrency.Set(nil) + +// GetHeaders returns the Headers field value if set, zero value otherwise. +func (o *PatchedansibleGitRemote) GetHeaders() []map[string]interface{} { + if o == nil || IsNil(o.Headers) { + var ret []map[string]interface{} + return ret + } + return o.Headers } -// UnsetDownloadConcurrency ensures that no value is present for DownloadConcurrency, not even an explicit nil -func (o *PatchedansibleGitRemote) UnsetDownloadConcurrency() { - o.DownloadConcurrency.Unset() +// GetHeadersOk returns a tuple with the Headers field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedansibleGitRemote) GetHeadersOk() ([]map[string]interface{}, bool) { + if o == nil || IsNil(o.Headers) { + return nil, false + } + return o.Headers, true } -// GetName returns the Name field value if set, zero value otherwise. -func (o *PatchedansibleGitRemote) GetName() string { - if o == nil || IsNil(o.Name) { +// HasHeaders returns a boolean if a field has been set. +func (o *PatchedansibleGitRemote) HasHeaders() bool { + if o != nil && !IsNil(o.Headers) { + return true + } + + return false +} + +// SetHeaders gets a reference to the given []map[string]interface{} and assigns it to the Headers field. +func (o *PatchedansibleGitRemote) SetHeaders(v []map[string]interface{}) { + o.Headers = v +} + +// GetClientKey returns the ClientKey field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedansibleGitRemote) GetClientKey() string { + if o == nil || IsNil(o.ClientKey.Get()) { var ret string return ret } - return *o.Name + return *o.ClientKey.Get() } -// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// GetClientKeyOk returns a tuple with the ClientKey field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PatchedansibleGitRemote) GetNameOk() (*string, bool) { - if o == nil || IsNil(o.Name) { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedansibleGitRemote) GetClientKeyOk() (*string, bool) { + if o == nil { return nil, false } - return o.Name, true + return o.ClientKey.Get(), o.ClientKey.IsSet() } -// HasName returns a boolean if a field has been set. -func (o *PatchedansibleGitRemote) HasName() bool { - if o != nil && !IsNil(o.Name) { +// HasClientKey returns a boolean if a field has been set. +func (o *PatchedansibleGitRemote) HasClientKey() bool { + if o != nil && o.ClientKey.IsSet() { return true } return false } -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *PatchedansibleGitRemote) SetName(v string) { - o.Name = &v +// SetClientKey gets a reference to the given NullableString and assigns it to the ClientKey field. +func (o *PatchedansibleGitRemote) SetClientKey(v string) { + o.ClientKey.Set(&v) +} +// SetClientKeyNil sets the value for ClientKey to be an explicit nil +func (o *PatchedansibleGitRemote) SetClientKeyNil() { + o.ClientKey.Set(nil) +} + +// UnsetClientKey ensures that no value is present for ClientKey, not even an explicit nil +func (o *PatchedansibleGitRemote) UnsetClientKey() { + o.ClientKey.Unset() } // GetConnectTimeout returns the ConnectTimeout field value if set, zero value otherwise (both if not set or set to explicit null). @@ -541,41 +635,9 @@ func (o *PatchedansibleGitRemote) SetConnectTimeoutNil() { o.ConnectTimeout.Set(nil) } -// UnsetConnectTimeout ensures that no value is present for ConnectTimeout, not even an explicit nil -func (o *PatchedansibleGitRemote) UnsetConnectTimeout() { - o.ConnectTimeout.Unset() -} - -// GetHeaders returns the Headers field value if set, zero value otherwise. -func (o *PatchedansibleGitRemote) GetHeaders() []map[string]interface{} { - if o == nil || IsNil(o.Headers) { - var ret []map[string]interface{} - return ret - } - return o.Headers -} - -// GetHeadersOk returns a tuple with the Headers field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PatchedansibleGitRemote) GetHeadersOk() ([]map[string]interface{}, bool) { - if o == nil || IsNil(o.Headers) { - return nil, false - } - return o.Headers, true -} - -// HasHeaders returns a boolean if a field has been set. -func (o *PatchedansibleGitRemote) HasHeaders() bool { - if o != nil && !IsNil(o.Headers) { - return true - } - - return false -} - -// SetHeaders gets a reference to the given []map[string]interface{} and assigns it to the Headers field. -func (o *PatchedansibleGitRemote) SetHeaders(v []map[string]interface{}) { - o.Headers = v +// UnsetConnectTimeout ensures that no value is present for ConnectTimeout, not even an explicit nil +func (o *PatchedansibleGitRemote) UnsetConnectTimeout() { + o.ConnectTimeout.Unset() } // GetProxyUrl returns the ProxyUrl field value if set, zero value otherwise (both if not set or set to explicit null). @@ -662,130 +724,36 @@ func (o *PatchedansibleGitRemote) UnsetRateLimit() { o.RateLimit.Unset() } -// GetCaCert returns the CaCert field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedansibleGitRemote) GetCaCert() string { - if o == nil || IsNil(o.CaCert.Get()) { - var ret string - return ret - } - return *o.CaCert.Get() -} - -// GetCaCertOk returns a tuple with the CaCert field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PatchedansibleGitRemote) GetCaCertOk() (*string, bool) { - if o == nil { - return nil, false - } - return o.CaCert.Get(), o.CaCert.IsSet() -} - -// HasCaCert returns a boolean if a field has been set. -func (o *PatchedansibleGitRemote) HasCaCert() bool { - if o != nil && o.CaCert.IsSet() { - return true - } - - return false -} - -// SetCaCert gets a reference to the given NullableString and assigns it to the CaCert field. -func (o *PatchedansibleGitRemote) SetCaCert(v string) { - o.CaCert.Set(&v) -} -// SetCaCertNil sets the value for CaCert to be an explicit nil -func (o *PatchedansibleGitRemote) SetCaCertNil() { - o.CaCert.Set(nil) -} - -// UnsetCaCert ensures that no value is present for CaCert, not even an explicit nil -func (o *PatchedansibleGitRemote) UnsetCaCert() { - o.CaCert.Unset() -} - -// GetSockReadTimeout returns the SockReadTimeout field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedansibleGitRemote) GetSockReadTimeout() float64 { - if o == nil || IsNil(o.SockReadTimeout.Get()) { - var ret float64 - return ret - } - return *o.SockReadTimeout.Get() -} - -// GetSockReadTimeoutOk returns a tuple with the SockReadTimeout field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PatchedansibleGitRemote) GetSockReadTimeoutOk() (*float64, bool) { - if o == nil { - return nil, false - } - return o.SockReadTimeout.Get(), o.SockReadTimeout.IsSet() -} - -// HasSockReadTimeout returns a boolean if a field has been set. -func (o *PatchedansibleGitRemote) HasSockReadTimeout() bool { - if o != nil && o.SockReadTimeout.IsSet() { - return true - } - - return false -} - -// SetSockReadTimeout gets a reference to the given NullableFloat64 and assigns it to the SockReadTimeout field. -func (o *PatchedansibleGitRemote) SetSockReadTimeout(v float64) { - o.SockReadTimeout.Set(&v) -} -// SetSockReadTimeoutNil sets the value for SockReadTimeout to be an explicit nil -func (o *PatchedansibleGitRemote) SetSockReadTimeoutNil() { - o.SockReadTimeout.Set(nil) -} - -// UnsetSockReadTimeout ensures that no value is present for SockReadTimeout, not even an explicit nil -func (o *PatchedansibleGitRemote) UnsetSockReadTimeout() { - o.SockReadTimeout.Unset() -} - -// GetProxyUsername returns the ProxyUsername field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedansibleGitRemote) GetProxyUsername() string { - if o == nil || IsNil(o.ProxyUsername.Get()) { +// GetName returns the Name field value if set, zero value otherwise. +func (o *PatchedansibleGitRemote) GetName() string { + if o == nil || IsNil(o.Name) { var ret string return ret } - return *o.ProxyUsername.Get() + return *o.Name } -// GetProxyUsernameOk returns a tuple with the ProxyUsername field value if set, nil otherwise +// GetNameOk returns a tuple with the Name field value if set, nil otherwise // and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PatchedansibleGitRemote) GetProxyUsernameOk() (*string, bool) { - if o == nil { +func (o *PatchedansibleGitRemote) GetNameOk() (*string, bool) { + if o == nil || IsNil(o.Name) { return nil, false } - return o.ProxyUsername.Get(), o.ProxyUsername.IsSet() + return o.Name, true } -// HasProxyUsername returns a boolean if a field has been set. -func (o *PatchedansibleGitRemote) HasProxyUsername() bool { - if o != nil && o.ProxyUsername.IsSet() { +// HasName returns a boolean if a field has been set. +func (o *PatchedansibleGitRemote) HasName() bool { + if o != nil && !IsNil(o.Name) { return true } return false } -// SetProxyUsername gets a reference to the given NullableString and assigns it to the ProxyUsername field. -func (o *PatchedansibleGitRemote) SetProxyUsername(v string) { - o.ProxyUsername.Set(&v) -} -// SetProxyUsernameNil sets the value for ProxyUsername to be an explicit nil -func (o *PatchedansibleGitRemote) SetProxyUsernameNil() { - o.ProxyUsername.Set(nil) -} - -// UnsetProxyUsername ensures that no value is present for ProxyUsername, not even an explicit nil -func (o *PatchedansibleGitRemote) UnsetProxyUsername() { - o.ProxyUsername.Unset() +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *PatchedansibleGitRemote) SetName(v string) { + o.Name = &v } // GetUsername returns the Username field value if set, zero value otherwise (both if not set or set to explicit null). @@ -830,46 +798,78 @@ func (o *PatchedansibleGitRemote) UnsetUsername() { o.Username.Unset() } -// GetClientKey returns the ClientKey field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedansibleGitRemote) GetClientKey() string { - if o == nil || IsNil(o.ClientKey.Get()) { +// GetClientCert returns the ClientCert field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedansibleGitRemote) GetClientCert() string { + if o == nil || IsNil(o.ClientCert.Get()) { var ret string return ret } - return *o.ClientKey.Get() + return *o.ClientCert.Get() } -// GetClientKeyOk returns a tuple with the ClientKey field value if set, nil otherwise +// GetClientCertOk returns a tuple with the ClientCert field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PatchedansibleGitRemote) GetClientKeyOk() (*string, bool) { +func (o *PatchedansibleGitRemote) GetClientCertOk() (*string, bool) { if o == nil { return nil, false } - return o.ClientKey.Get(), o.ClientKey.IsSet() + return o.ClientCert.Get(), o.ClientCert.IsSet() } -// HasClientKey returns a boolean if a field has been set. -func (o *PatchedansibleGitRemote) HasClientKey() bool { - if o != nil && o.ClientKey.IsSet() { +// HasClientCert returns a boolean if a field has been set. +func (o *PatchedansibleGitRemote) HasClientCert() bool { + if o != nil && o.ClientCert.IsSet() { return true } return false } -// SetClientKey gets a reference to the given NullableString and assigns it to the ClientKey field. -func (o *PatchedansibleGitRemote) SetClientKey(v string) { - o.ClientKey.Set(&v) +// SetClientCert gets a reference to the given NullableString and assigns it to the ClientCert field. +func (o *PatchedansibleGitRemote) SetClientCert(v string) { + o.ClientCert.Set(&v) } -// SetClientKeyNil sets the value for ClientKey to be an explicit nil -func (o *PatchedansibleGitRemote) SetClientKeyNil() { - o.ClientKey.Set(nil) +// SetClientCertNil sets the value for ClientCert to be an explicit nil +func (o *PatchedansibleGitRemote) SetClientCertNil() { + o.ClientCert.Set(nil) } -// UnsetClientKey ensures that no value is present for ClientKey, not even an explicit nil -func (o *PatchedansibleGitRemote) UnsetClientKey() { - o.ClientKey.Unset() +// UnsetClientCert ensures that no value is present for ClientCert, not even an explicit nil +func (o *PatchedansibleGitRemote) UnsetClientCert() { + o.ClientCert.Unset() +} + +// GetUrl returns the Url field value if set, zero value otherwise. +func (o *PatchedansibleGitRemote) GetUrl() string { + if o == nil || IsNil(o.Url) { + var ret string + return ret + } + return *o.Url +} + +// GetUrlOk returns a tuple with the Url field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedansibleGitRemote) GetUrlOk() (*string, bool) { + if o == nil || IsNil(o.Url) { + return nil, false + } + return o.Url, true +} + +// HasUrl returns a boolean if a field has been set. +func (o *PatchedansibleGitRemote) HasUrl() bool { + if o != nil && !IsNil(o.Url) { + return true + } + + return false +} + +// SetUrl gets a reference to the given string and assigns it to the Url field. +func (o *PatchedansibleGitRemote) SetUrl(v string) { + o.Url = &v } // GetMetadataOnly returns the MetadataOnly field value if set, zero value otherwise. @@ -946,65 +946,65 @@ func (o PatchedansibleGitRemote) MarshalJSON() ([]byte, error) { func (o PatchedansibleGitRemote) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.PulpLabels) { + toSerialize["pulp_labels"] = o.PulpLabels + } if o.MaxRetries.IsSet() { toSerialize["max_retries"] = o.MaxRetries.Get() } - if o.ProxyPassword.IsSet() { - toSerialize["proxy_password"] = o.ProxyPassword.Get() + if o.Password.IsSet() { + toSerialize["password"] = o.Password.Get() } - if o.ClientCert.IsSet() { - toSerialize["client_cert"] = o.ClientCert.Get() + if o.CaCert.IsSet() { + toSerialize["ca_cert"] = o.CaCert.Get() } - if !IsNil(o.PulpLabels) { - toSerialize["pulp_labels"] = o.PulpLabels + if o.SockReadTimeout.IsSet() { + toSerialize["sock_read_timeout"] = o.SockReadTimeout.Get() } if o.TotalTimeout.IsSet() { toSerialize["total_timeout"] = o.TotalTimeout.Get() } - if !IsNil(o.Url) { - toSerialize["url"] = o.Url + if o.DownloadConcurrency.IsSet() { + toSerialize["download_concurrency"] = o.DownloadConcurrency.Get() } - if !IsNil(o.TlsValidation) { - toSerialize["tls_validation"] = o.TlsValidation + if o.ProxyPassword.IsSet() { + toSerialize["proxy_password"] = o.ProxyPassword.Get() } - if o.Password.IsSet() { - toSerialize["password"] = o.Password.Get() + if o.ProxyUsername.IsSet() { + toSerialize["proxy_username"] = o.ProxyUsername.Get() } if o.SockConnectTimeout.IsSet() { toSerialize["sock_connect_timeout"] = o.SockConnectTimeout.Get() } - if o.DownloadConcurrency.IsSet() { - toSerialize["download_concurrency"] = o.DownloadConcurrency.Get() + if !IsNil(o.TlsValidation) { + toSerialize["tls_validation"] = o.TlsValidation } - if !IsNil(o.Name) { - toSerialize["name"] = o.Name + if !IsNil(o.Headers) { + toSerialize["headers"] = o.Headers + } + if o.ClientKey.IsSet() { + toSerialize["client_key"] = o.ClientKey.Get() } if o.ConnectTimeout.IsSet() { toSerialize["connect_timeout"] = o.ConnectTimeout.Get() } - if !IsNil(o.Headers) { - toSerialize["headers"] = o.Headers - } if o.ProxyUrl.IsSet() { toSerialize["proxy_url"] = o.ProxyUrl.Get() } if o.RateLimit.IsSet() { toSerialize["rate_limit"] = o.RateLimit.Get() } - if o.CaCert.IsSet() { - toSerialize["ca_cert"] = o.CaCert.Get() - } - if o.SockReadTimeout.IsSet() { - toSerialize["sock_read_timeout"] = o.SockReadTimeout.Get() - } - if o.ProxyUsername.IsSet() { - toSerialize["proxy_username"] = o.ProxyUsername.Get() + if !IsNil(o.Name) { + toSerialize["name"] = o.Name } if o.Username.IsSet() { toSerialize["username"] = o.Username.Get() } - if o.ClientKey.IsSet() { - toSerialize["client_key"] = o.ClientKey.Get() + if o.ClientCert.IsSet() { + toSerialize["client_cert"] = o.ClientCert.Get() + } + if !IsNil(o.Url) { + toSerialize["url"] = o.Url } if !IsNil(o.MetadataOnly) { toSerialize["metadata_only"] = o.MetadataOnly diff --git a/release/model_patchedcontainer_container_distribution.go b/release/model_patchedcontainer_container_distribution.go index ad4d99f6..eae0e4c0 100644 --- a/release/model_patchedcontainer_container_distribution.go +++ b/release/model_patchedcontainer_container_distribution.go @@ -21,14 +21,16 @@ var _ MappedNullable = &PatchedcontainerContainerDistribution{} // PatchedcontainerContainerDistribution A serializer for ContainerDistribution. type PatchedcontainerContainerDistribution struct { PulpLabels *map[string]string `json:"pulp_labels,omitempty"` - // The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") - BasePath *string `json:"base_path,omitempty"` // The latest RepositoryVersion for this Repository will be served. Repository NullableString `json:"repository,omitempty"` + // The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") + BasePath *string `json:"base_path,omitempty"` // An optional content-guard. If none is specified, a default one will be used. ContentGuard *string `json:"content_guard,omitempty"` // A unique name. Ex, `rawhide` and `stable`. Name *string `json:"name,omitempty"` + // Whether this distribution should be shown in the content app. + Hidden *bool `json:"hidden,omitempty"` // RepositoryVersion to be served RepositoryVersion NullableString `json:"repository_version,omitempty"` // Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. @@ -43,6 +45,8 @@ type PatchedcontainerContainerDistribution struct { // will change when the set of required properties is changed func NewPatchedcontainerContainerDistribution() *PatchedcontainerContainerDistribution { this := PatchedcontainerContainerDistribution{} + var hidden bool = false + this.Hidden = &hidden return &this } @@ -51,6 +55,8 @@ func NewPatchedcontainerContainerDistribution() *PatchedcontainerContainerDistri // but it doesn't guarantee that properties required by API are set func NewPatchedcontainerContainerDistributionWithDefaults() *PatchedcontainerContainerDistribution { this := PatchedcontainerContainerDistribution{} + var hidden bool = false + this.Hidden = &hidden return &this } @@ -86,38 +92,6 @@ func (o *PatchedcontainerContainerDistribution) SetPulpLabels(v map[string]strin o.PulpLabels = &v } -// GetBasePath returns the BasePath field value if set, zero value otherwise. -func (o *PatchedcontainerContainerDistribution) GetBasePath() string { - if o == nil || IsNil(o.BasePath) { - var ret string - return ret - } - return *o.BasePath -} - -// GetBasePathOk returns a tuple with the BasePath field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PatchedcontainerContainerDistribution) GetBasePathOk() (*string, bool) { - if o == nil || IsNil(o.BasePath) { - return nil, false - } - return o.BasePath, true -} - -// HasBasePath returns a boolean if a field has been set. -func (o *PatchedcontainerContainerDistribution) HasBasePath() bool { - if o != nil && !IsNil(o.BasePath) { - return true - } - - return false -} - -// SetBasePath gets a reference to the given string and assigns it to the BasePath field. -func (o *PatchedcontainerContainerDistribution) SetBasePath(v string) { - o.BasePath = &v -} - // GetRepository returns the Repository field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedcontainerContainerDistribution) GetRepository() string { if o == nil || IsNil(o.Repository.Get()) { @@ -160,6 +134,38 @@ func (o *PatchedcontainerContainerDistribution) UnsetRepository() { o.Repository.Unset() } +// GetBasePath returns the BasePath field value if set, zero value otherwise. +func (o *PatchedcontainerContainerDistribution) GetBasePath() string { + if o == nil || IsNil(o.BasePath) { + var ret string + return ret + } + return *o.BasePath +} + +// GetBasePathOk returns a tuple with the BasePath field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedcontainerContainerDistribution) GetBasePathOk() (*string, bool) { + if o == nil || IsNil(o.BasePath) { + return nil, false + } + return o.BasePath, true +} + +// HasBasePath returns a boolean if a field has been set. +func (o *PatchedcontainerContainerDistribution) HasBasePath() bool { + if o != nil && !IsNil(o.BasePath) { + return true + } + + return false +} + +// SetBasePath gets a reference to the given string and assigns it to the BasePath field. +func (o *PatchedcontainerContainerDistribution) SetBasePath(v string) { + o.BasePath = &v +} + // GetContentGuard returns the ContentGuard field value if set, zero value otherwise. func (o *PatchedcontainerContainerDistribution) GetContentGuard() string { if o == nil || IsNil(o.ContentGuard) { @@ -224,6 +230,38 @@ func (o *PatchedcontainerContainerDistribution) SetName(v string) { o.Name = &v } +// GetHidden returns the Hidden field value if set, zero value otherwise. +func (o *PatchedcontainerContainerDistribution) GetHidden() bool { + if o == nil || IsNil(o.Hidden) { + var ret bool + return ret + } + return *o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedcontainerContainerDistribution) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { + return nil, false + } + return o.Hidden, true +} + +// HasHidden returns a boolean if a field has been set. +func (o *PatchedcontainerContainerDistribution) HasHidden() bool { + if o != nil && !IsNil(o.Hidden) { + return true + } + + return false +} + +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *PatchedcontainerContainerDistribution) SetHidden(v bool) { + o.Hidden = &v +} + // GetRepositoryVersion returns the RepositoryVersion field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PatchedcontainerContainerDistribution) GetRepositoryVersion() string { if o == nil || IsNil(o.RepositoryVersion.Get()) { @@ -353,18 +391,21 @@ func (o PatchedcontainerContainerDistribution) ToMap() (map[string]interface{}, if !IsNil(o.PulpLabels) { toSerialize["pulp_labels"] = o.PulpLabels } - if !IsNil(o.BasePath) { - toSerialize["base_path"] = o.BasePath - } if o.Repository.IsSet() { toSerialize["repository"] = o.Repository.Get() } + if !IsNil(o.BasePath) { + toSerialize["base_path"] = o.BasePath + } if !IsNil(o.ContentGuard) { toSerialize["content_guard"] = o.ContentGuard } if !IsNil(o.Name) { toSerialize["name"] = o.Name } + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } if o.RepositoryVersion.IsSet() { toSerialize["repository_version"] = o.RepositoryVersion.Get() } diff --git a/release/model_patchedcontainer_container_push_repository.go b/release/model_patchedcontainer_container_push_repository.go index 3e705f11..aaab1808 100644 --- a/release/model_patchedcontainer_container_push_repository.go +++ b/release/model_patchedcontainer_container_push_repository.go @@ -20,15 +20,15 @@ var _ MappedNullable = &PatchedcontainerContainerPushRepository{} // PatchedcontainerContainerPushRepository Serializer for Container Push Repositories. type PatchedcontainerContainerPushRepository struct { + PulpLabels *map[string]string `json:"pulp_labels,omitempty"` // A reference to an associated signing service. ManifestSigningService NullableString `json:"manifest_signing_service,omitempty"` - PulpLabels *map[string]string `json:"pulp_labels,omitempty"` - // An optional description. - Description NullableString `json:"description,omitempty"` // Retain X versions of the repository. Default is null which retains all versions. RetainRepoVersions NullableInt64 `json:"retain_repo_versions,omitempty"` // A unique name for this repository. Name *string `json:"name,omitempty"` + // An optional description. + Description NullableString `json:"description,omitempty"` } // NewPatchedcontainerContainerPushRepository instantiates a new PatchedcontainerContainerPushRepository object @@ -48,48 +48,6 @@ func NewPatchedcontainerContainerPushRepositoryWithDefaults() *PatchedcontainerC return &this } -// GetManifestSigningService returns the ManifestSigningService field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedcontainerContainerPushRepository) GetManifestSigningService() string { - if o == nil || IsNil(o.ManifestSigningService.Get()) { - var ret string - return ret - } - return *o.ManifestSigningService.Get() -} - -// GetManifestSigningServiceOk returns a tuple with the ManifestSigningService field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PatchedcontainerContainerPushRepository) GetManifestSigningServiceOk() (*string, bool) { - if o == nil { - return nil, false - } - return o.ManifestSigningService.Get(), o.ManifestSigningService.IsSet() -} - -// HasManifestSigningService returns a boolean if a field has been set. -func (o *PatchedcontainerContainerPushRepository) HasManifestSigningService() bool { - if o != nil && o.ManifestSigningService.IsSet() { - return true - } - - return false -} - -// SetManifestSigningService gets a reference to the given NullableString and assigns it to the ManifestSigningService field. -func (o *PatchedcontainerContainerPushRepository) SetManifestSigningService(v string) { - o.ManifestSigningService.Set(&v) -} -// SetManifestSigningServiceNil sets the value for ManifestSigningService to be an explicit nil -func (o *PatchedcontainerContainerPushRepository) SetManifestSigningServiceNil() { - o.ManifestSigningService.Set(nil) -} - -// UnsetManifestSigningService ensures that no value is present for ManifestSigningService, not even an explicit nil -func (o *PatchedcontainerContainerPushRepository) UnsetManifestSigningService() { - o.ManifestSigningService.Unset() -} - // GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. func (o *PatchedcontainerContainerPushRepository) GetPulpLabels() map[string]string { if o == nil || IsNil(o.PulpLabels) { @@ -122,46 +80,46 @@ func (o *PatchedcontainerContainerPushRepository) SetPulpLabels(v map[string]str o.PulpLabels = &v } -// GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedcontainerContainerPushRepository) GetDescription() string { - if o == nil || IsNil(o.Description.Get()) { +// GetManifestSigningService returns the ManifestSigningService field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedcontainerContainerPushRepository) GetManifestSigningService() string { + if o == nil || IsNil(o.ManifestSigningService.Get()) { var ret string return ret } - return *o.Description.Get() + return *o.ManifestSigningService.Get() } -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// GetManifestSigningServiceOk returns a tuple with the ManifestSigningService field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PatchedcontainerContainerPushRepository) GetDescriptionOk() (*string, bool) { +func (o *PatchedcontainerContainerPushRepository) GetManifestSigningServiceOk() (*string, bool) { if o == nil { return nil, false } - return o.Description.Get(), o.Description.IsSet() + return o.ManifestSigningService.Get(), o.ManifestSigningService.IsSet() } -// HasDescription returns a boolean if a field has been set. -func (o *PatchedcontainerContainerPushRepository) HasDescription() bool { - if o != nil && o.Description.IsSet() { +// HasManifestSigningService returns a boolean if a field has been set. +func (o *PatchedcontainerContainerPushRepository) HasManifestSigningService() bool { + if o != nil && o.ManifestSigningService.IsSet() { return true } return false } -// SetDescription gets a reference to the given NullableString and assigns it to the Description field. -func (o *PatchedcontainerContainerPushRepository) SetDescription(v string) { - o.Description.Set(&v) +// SetManifestSigningService gets a reference to the given NullableString and assigns it to the ManifestSigningService field. +func (o *PatchedcontainerContainerPushRepository) SetManifestSigningService(v string) { + o.ManifestSigningService.Set(&v) } -// SetDescriptionNil sets the value for Description to be an explicit nil -func (o *PatchedcontainerContainerPushRepository) SetDescriptionNil() { - o.Description.Set(nil) +// SetManifestSigningServiceNil sets the value for ManifestSigningService to be an explicit nil +func (o *PatchedcontainerContainerPushRepository) SetManifestSigningServiceNil() { + o.ManifestSigningService.Set(nil) } -// UnsetDescription ensures that no value is present for Description, not even an explicit nil -func (o *PatchedcontainerContainerPushRepository) UnsetDescription() { - o.Description.Unset() +// UnsetManifestSigningService ensures that no value is present for ManifestSigningService, not even an explicit nil +func (o *PatchedcontainerContainerPushRepository) UnsetManifestSigningService() { + o.ManifestSigningService.Unset() } // GetRetainRepoVersions returns the RetainRepoVersions field value if set, zero value otherwise (both if not set or set to explicit null). @@ -238,6 +196,48 @@ func (o *PatchedcontainerContainerPushRepository) SetName(v string) { o.Name = &v } +// GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PatchedcontainerContainerPushRepository) GetDescription() string { + if o == nil || IsNil(o.Description.Get()) { + var ret string + return ret + } + return *o.Description.Get() +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PatchedcontainerContainerPushRepository) GetDescriptionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Description.Get(), o.Description.IsSet() +} + +// HasDescription returns a boolean if a field has been set. +func (o *PatchedcontainerContainerPushRepository) HasDescription() bool { + if o != nil && o.Description.IsSet() { + return true + } + + return false +} + +// SetDescription gets a reference to the given NullableString and assigns it to the Description field. +func (o *PatchedcontainerContainerPushRepository) SetDescription(v string) { + o.Description.Set(&v) +} +// SetDescriptionNil sets the value for Description to be an explicit nil +func (o *PatchedcontainerContainerPushRepository) SetDescriptionNil() { + o.Description.Set(nil) +} + +// UnsetDescription ensures that no value is present for Description, not even an explicit nil +func (o *PatchedcontainerContainerPushRepository) UnsetDescription() { + o.Description.Unset() +} + func (o PatchedcontainerContainerPushRepository) MarshalJSON() ([]byte, error) { toSerialize,err := o.ToMap() if err != nil { @@ -248,14 +248,11 @@ func (o PatchedcontainerContainerPushRepository) MarshalJSON() ([]byte, error) { func (o PatchedcontainerContainerPushRepository) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - if o.ManifestSigningService.IsSet() { - toSerialize["manifest_signing_service"] = o.ManifestSigningService.Get() - } if !IsNil(o.PulpLabels) { toSerialize["pulp_labels"] = o.PulpLabels } - if o.Description.IsSet() { - toSerialize["description"] = o.Description.Get() + if o.ManifestSigningService.IsSet() { + toSerialize["manifest_signing_service"] = o.ManifestSigningService.Get() } if o.RetainRepoVersions.IsSet() { toSerialize["retain_repo_versions"] = o.RetainRepoVersions.Get() @@ -263,6 +260,9 @@ func (o PatchedcontainerContainerPushRepository) ToMap() (map[string]interface{} if !IsNil(o.Name) { toSerialize["name"] = o.Name } + if o.Description.IsSet() { + toSerialize["description"] = o.Description.Get() + } return toSerialize, nil } diff --git a/release/model_patcheddeb_apt_distribution.go b/release/model_patcheddeb_apt_distribution.go index 8b9c2109..c04ca7c6 100644 --- a/release/model_patcheddeb_apt_distribution.go +++ b/release/model_patcheddeb_apt_distribution.go @@ -24,6 +24,8 @@ type PatcheddebAptDistribution struct { BasePath *string `json:"base_path,omitempty"` // An optional content-guard. ContentGuard NullableString `json:"content_guard,omitempty"` + // Whether this distribution should be shown in the content app. + Hidden *bool `json:"hidden,omitempty"` PulpLabels *map[string]string `json:"pulp_labels,omitempty"` // A unique name. Ex, `rawhide` and `stable`. Name *string `json:"name,omitempty"` @@ -39,6 +41,8 @@ type PatcheddebAptDistribution struct { // will change when the set of required properties is changed func NewPatcheddebAptDistribution() *PatcheddebAptDistribution { this := PatcheddebAptDistribution{} + var hidden bool = false + this.Hidden = &hidden return &this } @@ -47,6 +51,8 @@ func NewPatcheddebAptDistribution() *PatcheddebAptDistribution { // but it doesn't guarantee that properties required by API are set func NewPatcheddebAptDistributionWithDefaults() *PatcheddebAptDistribution { this := PatcheddebAptDistribution{} + var hidden bool = false + this.Hidden = &hidden return &this } @@ -124,6 +130,38 @@ func (o *PatcheddebAptDistribution) UnsetContentGuard() { o.ContentGuard.Unset() } +// GetHidden returns the Hidden field value if set, zero value otherwise. +func (o *PatcheddebAptDistribution) GetHidden() bool { + if o == nil || IsNil(o.Hidden) { + var ret bool + return ret + } + return *o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatcheddebAptDistribution) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { + return nil, false + } + return o.Hidden, true +} + +// HasHidden returns a boolean if a field has been set. +func (o *PatcheddebAptDistribution) HasHidden() bool { + if o != nil && !IsNil(o.Hidden) { + return true + } + + return false +} + +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *PatcheddebAptDistribution) SetHidden(v bool) { + o.Hidden = &v +} + // GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. func (o *PatcheddebAptDistribution) GetPulpLabels() map[string]string { if o == nil || IsNil(o.PulpLabels) { @@ -288,6 +326,9 @@ func (o PatcheddebAptDistribution) ToMap() (map[string]interface{}, error) { if o.ContentGuard.IsSet() { toSerialize["content_guard"] = o.ContentGuard.Get() } + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } if !IsNil(o.PulpLabels) { toSerialize["pulp_labels"] = o.PulpLabels } diff --git a/release/model_patchedfile_file_distribution.go b/release/model_patchedfile_file_distribution.go index 9c3da5da..071ba8f7 100644 --- a/release/model_patchedfile_file_distribution.go +++ b/release/model_patchedfile_file_distribution.go @@ -24,6 +24,8 @@ type PatchedfileFileDistribution struct { BasePath *string `json:"base_path,omitempty"` // An optional content-guard. ContentGuard NullableString `json:"content_guard,omitempty"` + // Whether this distribution should be shown in the content app. + Hidden *bool `json:"hidden,omitempty"` PulpLabels *map[string]string `json:"pulp_labels,omitempty"` // A unique name. Ex, `rawhide` and `stable`. Name *string `json:"name,omitempty"` @@ -39,6 +41,8 @@ type PatchedfileFileDistribution struct { // will change when the set of required properties is changed func NewPatchedfileFileDistribution() *PatchedfileFileDistribution { this := PatchedfileFileDistribution{} + var hidden bool = false + this.Hidden = &hidden return &this } @@ -47,6 +51,8 @@ func NewPatchedfileFileDistribution() *PatchedfileFileDistribution { // but it doesn't guarantee that properties required by API are set func NewPatchedfileFileDistributionWithDefaults() *PatchedfileFileDistribution { this := PatchedfileFileDistribution{} + var hidden bool = false + this.Hidden = &hidden return &this } @@ -124,6 +130,38 @@ func (o *PatchedfileFileDistribution) UnsetContentGuard() { o.ContentGuard.Unset() } +// GetHidden returns the Hidden field value if set, zero value otherwise. +func (o *PatchedfileFileDistribution) GetHidden() bool { + if o == nil || IsNil(o.Hidden) { + var ret bool + return ret + } + return *o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedfileFileDistribution) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { + return nil, false + } + return o.Hidden, true +} + +// HasHidden returns a boolean if a field has been set. +func (o *PatchedfileFileDistribution) HasHidden() bool { + if o != nil && !IsNil(o.Hidden) { + return true + } + + return false +} + +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *PatchedfileFileDistribution) SetHidden(v bool) { + o.Hidden = &v +} + // GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. func (o *PatchedfileFileDistribution) GetPulpLabels() map[string]string { if o == nil || IsNil(o.PulpLabels) { @@ -288,6 +326,9 @@ func (o PatchedfileFileDistribution) ToMap() (map[string]interface{}, error) { if o.ContentGuard.IsSet() { toSerialize["content_guard"] = o.ContentGuard.Get() } + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } if !IsNil(o.PulpLabels) { toSerialize["pulp_labels"] = o.PulpLabels } diff --git a/release/model_patchedmaven_maven_distribution.go b/release/model_patchedmaven_maven_distribution.go index 8458c4ba..49ffcb00 100644 --- a/release/model_patchedmaven_maven_distribution.go +++ b/release/model_patchedmaven_maven_distribution.go @@ -24,6 +24,8 @@ type PatchedmavenMavenDistribution struct { BasePath *string `json:"base_path,omitempty"` // An optional content-guard. ContentGuard NullableString `json:"content_guard,omitempty"` + // Whether this distribution should be shown in the content app. + Hidden *bool `json:"hidden,omitempty"` PulpLabels *map[string]string `json:"pulp_labels,omitempty"` // A unique name. Ex, `rawhide` and `stable`. Name *string `json:"name,omitempty"` @@ -39,6 +41,8 @@ type PatchedmavenMavenDistribution struct { // will change when the set of required properties is changed func NewPatchedmavenMavenDistribution() *PatchedmavenMavenDistribution { this := PatchedmavenMavenDistribution{} + var hidden bool = false + this.Hidden = &hidden return &this } @@ -47,6 +51,8 @@ func NewPatchedmavenMavenDistribution() *PatchedmavenMavenDistribution { // but it doesn't guarantee that properties required by API are set func NewPatchedmavenMavenDistributionWithDefaults() *PatchedmavenMavenDistribution { this := PatchedmavenMavenDistribution{} + var hidden bool = false + this.Hidden = &hidden return &this } @@ -124,6 +130,38 @@ func (o *PatchedmavenMavenDistribution) UnsetContentGuard() { o.ContentGuard.Unset() } +// GetHidden returns the Hidden field value if set, zero value otherwise. +func (o *PatchedmavenMavenDistribution) GetHidden() bool { + if o == nil || IsNil(o.Hidden) { + var ret bool + return ret + } + return *o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedmavenMavenDistribution) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { + return nil, false + } + return o.Hidden, true +} + +// HasHidden returns a boolean if a field has been set. +func (o *PatchedmavenMavenDistribution) HasHidden() bool { + if o != nil && !IsNil(o.Hidden) { + return true + } + + return false +} + +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *PatchedmavenMavenDistribution) SetHidden(v bool) { + o.Hidden = &v +} + // GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. func (o *PatchedmavenMavenDistribution) GetPulpLabels() map[string]string { if o == nil || IsNil(o.PulpLabels) { @@ -288,6 +326,9 @@ func (o PatchedmavenMavenDistribution) ToMap() (map[string]interface{}, error) { if o.ContentGuard.IsSet() { toSerialize["content_guard"] = o.ContentGuard.Get() } + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } if !IsNil(o.PulpLabels) { toSerialize["pulp_labels"] = o.PulpLabels } diff --git a/release/model_patchedostree_ostree_distribution.go b/release/model_patchedostree_ostree_distribution.go index dc79c131..239f0883 100644 --- a/release/model_patchedostree_ostree_distribution.go +++ b/release/model_patchedostree_ostree_distribution.go @@ -24,6 +24,8 @@ type PatchedostreeOstreeDistribution struct { BasePath *string `json:"base_path,omitempty"` // An optional content-guard. ContentGuard NullableString `json:"content_guard,omitempty"` + // Whether this distribution should be shown in the content app. + Hidden *bool `json:"hidden,omitempty"` PulpLabels *map[string]string `json:"pulp_labels,omitempty"` // A unique name. Ex, `rawhide` and `stable`. Name *string `json:"name,omitempty"` @@ -39,6 +41,8 @@ type PatchedostreeOstreeDistribution struct { // will change when the set of required properties is changed func NewPatchedostreeOstreeDistribution() *PatchedostreeOstreeDistribution { this := PatchedostreeOstreeDistribution{} + var hidden bool = false + this.Hidden = &hidden return &this } @@ -47,6 +51,8 @@ func NewPatchedostreeOstreeDistribution() *PatchedostreeOstreeDistribution { // but it doesn't guarantee that properties required by API are set func NewPatchedostreeOstreeDistributionWithDefaults() *PatchedostreeOstreeDistribution { this := PatchedostreeOstreeDistribution{} + var hidden bool = false + this.Hidden = &hidden return &this } @@ -124,6 +130,38 @@ func (o *PatchedostreeOstreeDistribution) UnsetContentGuard() { o.ContentGuard.Unset() } +// GetHidden returns the Hidden field value if set, zero value otherwise. +func (o *PatchedostreeOstreeDistribution) GetHidden() bool { + if o == nil || IsNil(o.Hidden) { + var ret bool + return ret + } + return *o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedostreeOstreeDistribution) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { + return nil, false + } + return o.Hidden, true +} + +// HasHidden returns a boolean if a field has been set. +func (o *PatchedostreeOstreeDistribution) HasHidden() bool { + if o != nil && !IsNil(o.Hidden) { + return true + } + + return false +} + +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *PatchedostreeOstreeDistribution) SetHidden(v bool) { + o.Hidden = &v +} + // GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. func (o *PatchedostreeOstreeDistribution) GetPulpLabels() map[string]string { if o == nil || IsNil(o.PulpLabels) { @@ -288,6 +326,9 @@ func (o PatchedostreeOstreeDistribution) ToMap() (map[string]interface{}, error) if o.ContentGuard.IsSet() { toSerialize["content_guard"] = o.ContentGuard.Get() } + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } if !IsNil(o.PulpLabels) { toSerialize["pulp_labels"] = o.PulpLabels } diff --git a/release/model_patchedpython_python_distribution.go b/release/model_patchedpython_python_distribution.go index 34e010a0..4c13b360 100644 --- a/release/model_patchedpython_python_distribution.go +++ b/release/model_patchedpython_python_distribution.go @@ -24,6 +24,8 @@ type PatchedpythonPythonDistribution struct { BasePath *string `json:"base_path,omitempty"` // An optional content-guard. ContentGuard NullableString `json:"content_guard,omitempty"` + // Whether this distribution should be shown in the content app. + Hidden *bool `json:"hidden,omitempty"` PulpLabels *map[string]string `json:"pulp_labels,omitempty"` // A unique name. Ex, `rawhide` and `stable`. Name *string `json:"name,omitempty"` @@ -43,6 +45,8 @@ type PatchedpythonPythonDistribution struct { // will change when the set of required properties is changed func NewPatchedpythonPythonDistribution() *PatchedpythonPythonDistribution { this := PatchedpythonPythonDistribution{} + var hidden bool = false + this.Hidden = &hidden var allowUploads bool = true this.AllowUploads = &allowUploads return &this @@ -53,6 +57,8 @@ func NewPatchedpythonPythonDistribution() *PatchedpythonPythonDistribution { // but it doesn't guarantee that properties required by API are set func NewPatchedpythonPythonDistributionWithDefaults() *PatchedpythonPythonDistribution { this := PatchedpythonPythonDistribution{} + var hidden bool = false + this.Hidden = &hidden var allowUploads bool = true this.AllowUploads = &allowUploads return &this @@ -132,6 +138,38 @@ func (o *PatchedpythonPythonDistribution) UnsetContentGuard() { o.ContentGuard.Unset() } +// GetHidden returns the Hidden field value if set, zero value otherwise. +func (o *PatchedpythonPythonDistribution) GetHidden() bool { + if o == nil || IsNil(o.Hidden) { + var ret bool + return ret + } + return *o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedpythonPythonDistribution) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { + return nil, false + } + return o.Hidden, true +} + +// HasHidden returns a boolean if a field has been set. +func (o *PatchedpythonPythonDistribution) HasHidden() bool { + if o != nil && !IsNil(o.Hidden) { + return true + } + + return false +} + +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *PatchedpythonPythonDistribution) SetHidden(v bool) { + o.Hidden = &v +} + // GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. func (o *PatchedpythonPythonDistribution) GetPulpLabels() map[string]string { if o == nil || IsNil(o.PulpLabels) { @@ -370,6 +408,9 @@ func (o PatchedpythonPythonDistribution) ToMap() (map[string]interface{}, error) if o.ContentGuard.IsSet() { toSerialize["content_guard"] = o.ContentGuard.Get() } + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } if !IsNil(o.PulpLabels) { toSerialize["pulp_labels"] = o.PulpLabels } diff --git a/release/model_patchedrpm_rpm_distribution.go b/release/model_patchedrpm_rpm_distribution.go index 26549d81..880555e3 100644 --- a/release/model_patchedrpm_rpm_distribution.go +++ b/release/model_patchedrpm_rpm_distribution.go @@ -24,6 +24,8 @@ type PatchedrpmRpmDistribution struct { BasePath *string `json:"base_path,omitempty"` // An optional content-guard. ContentGuard NullableString `json:"content_guard,omitempty"` + // Whether this distribution should be shown in the content app. + Hidden *bool `json:"hidden,omitempty"` PulpLabels *map[string]string `json:"pulp_labels,omitempty"` // A unique name. Ex, `rawhide` and `stable`. Name *string `json:"name,omitempty"` @@ -39,6 +41,8 @@ type PatchedrpmRpmDistribution struct { // will change when the set of required properties is changed func NewPatchedrpmRpmDistribution() *PatchedrpmRpmDistribution { this := PatchedrpmRpmDistribution{} + var hidden bool = false + this.Hidden = &hidden return &this } @@ -47,6 +51,8 @@ func NewPatchedrpmRpmDistribution() *PatchedrpmRpmDistribution { // but it doesn't guarantee that properties required by API are set func NewPatchedrpmRpmDistributionWithDefaults() *PatchedrpmRpmDistribution { this := PatchedrpmRpmDistribution{} + var hidden bool = false + this.Hidden = &hidden return &this } @@ -124,6 +130,38 @@ func (o *PatchedrpmRpmDistribution) UnsetContentGuard() { o.ContentGuard.Unset() } +// GetHidden returns the Hidden field value if set, zero value otherwise. +func (o *PatchedrpmRpmDistribution) GetHidden() bool { + if o == nil || IsNil(o.Hidden) { + var ret bool + return ret + } + return *o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PatchedrpmRpmDistribution) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { + return nil, false + } + return o.Hidden, true +} + +// HasHidden returns a boolean if a field has been set. +func (o *PatchedrpmRpmDistribution) HasHidden() bool { + if o != nil && !IsNil(o.Hidden) { + return true + } + + return false +} + +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *PatchedrpmRpmDistribution) SetHidden(v bool) { + o.Hidden = &v +} + // GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. func (o *PatchedrpmRpmDistribution) GetPulpLabels() map[string]string { if o == nil || IsNil(o.PulpLabels) { @@ -288,6 +326,9 @@ func (o PatchedrpmRpmDistribution) ToMap() (map[string]interface{}, error) { if o.ContentGuard.IsSet() { toSerialize["content_guard"] = o.ContentGuard.Get() } + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } if !IsNil(o.PulpLabels) { toSerialize["pulp_labels"] = o.PulpLabels } diff --git a/release/model_python_python_distribution.go b/release/model_python_python_distribution.go index 9c1b9c3f..7ea1fadb 100644 --- a/release/model_python_python_distribution.go +++ b/release/model_python_python_distribution.go @@ -24,6 +24,8 @@ type PythonPythonDistribution struct { BasePath string `json:"base_path"` // An optional content-guard. ContentGuard NullableString `json:"content_guard,omitempty"` + // Whether this distribution should be shown in the content app. + Hidden *bool `json:"hidden,omitempty"` PulpLabels *map[string]string `json:"pulp_labels,omitempty"` // A unique name. Ex, `rawhide` and `stable`. Name string `json:"name"` @@ -44,6 +46,8 @@ type PythonPythonDistribution struct { func NewPythonPythonDistribution(basePath string, name string) *PythonPythonDistribution { this := PythonPythonDistribution{} this.BasePath = basePath + var hidden bool = false + this.Hidden = &hidden this.Name = name var allowUploads bool = true this.AllowUploads = &allowUploads @@ -55,6 +59,8 @@ func NewPythonPythonDistribution(basePath string, name string) *PythonPythonDist // but it doesn't guarantee that properties required by API are set func NewPythonPythonDistributionWithDefaults() *PythonPythonDistribution { this := PythonPythonDistribution{} + var hidden bool = false + this.Hidden = &hidden var allowUploads bool = true this.AllowUploads = &allowUploads return &this @@ -126,6 +132,38 @@ func (o *PythonPythonDistribution) UnsetContentGuard() { o.ContentGuard.Unset() } +// GetHidden returns the Hidden field value if set, zero value otherwise. +func (o *PythonPythonDistribution) GetHidden() bool { + if o == nil || IsNil(o.Hidden) { + var ret bool + return ret + } + return *o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPythonDistribution) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { + return nil, false + } + return o.Hidden, true +} + +// HasHidden returns a boolean if a field has been set. +func (o *PythonPythonDistribution) HasHidden() bool { + if o != nil && !IsNil(o.Hidden) { + return true + } + + return false +} + +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *PythonPythonDistribution) SetHidden(v bool) { + o.Hidden = &v +} + // GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. func (o *PythonPythonDistribution) GetPulpLabels() map[string]string { if o == nil || IsNil(o.PulpLabels) { @@ -354,6 +392,9 @@ func (o PythonPythonDistribution) ToMap() (map[string]interface{}, error) { if o.ContentGuard.IsSet() { toSerialize["content_guard"] = o.ContentGuard.Get() } + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } if !IsNil(o.PulpLabels) { toSerialize["pulp_labels"] = o.PulpLabels } diff --git a/release/model_python_python_distribution_response.go b/release/model_python_python_distribution_response.go index 30a9567e..d3b6bbe5 100644 --- a/release/model_python_python_distribution_response.go +++ b/release/model_python_python_distribution_response.go @@ -29,6 +29,8 @@ type PythonPythonDistributionResponse struct { BaseUrl *string `json:"base_url,omitempty"` // An optional content-guard. ContentGuard NullableString `json:"content_guard,omitempty"` + // Whether this distribution should be shown in the content app. + Hidden *bool `json:"hidden,omitempty"` PulpLabels *map[string]string `json:"pulp_labels,omitempty"` // A unique name. Ex, `rawhide` and `stable`. Name string `json:"name"` @@ -49,6 +51,8 @@ type PythonPythonDistributionResponse struct { func NewPythonPythonDistributionResponse(basePath string, name string) *PythonPythonDistributionResponse { this := PythonPythonDistributionResponse{} this.BasePath = basePath + var hidden bool = false + this.Hidden = &hidden this.Name = name var allowUploads bool = true this.AllowUploads = &allowUploads @@ -60,6 +64,8 @@ func NewPythonPythonDistributionResponse(basePath string, name string) *PythonPy // but it doesn't guarantee that properties required by API are set func NewPythonPythonDistributionResponseWithDefaults() *PythonPythonDistributionResponse { this := PythonPythonDistributionResponse{} + var hidden bool = false + this.Hidden = &hidden var allowUploads bool = true this.AllowUploads = &allowUploads return &this @@ -227,6 +233,38 @@ func (o *PythonPythonDistributionResponse) UnsetContentGuard() { o.ContentGuard.Unset() } +// GetHidden returns the Hidden field value if set, zero value otherwise. +func (o *PythonPythonDistributionResponse) GetHidden() bool { + if o == nil || IsNil(o.Hidden) { + var ret bool + return ret + } + return *o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPythonDistributionResponse) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { + return nil, false + } + return o.Hidden, true +} + +// HasHidden returns a boolean if a field has been set. +func (o *PythonPythonDistributionResponse) HasHidden() bool { + if o != nil && !IsNil(o.Hidden) { + return true + } + + return false +} + +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *PythonPythonDistributionResponse) SetHidden(v bool) { + o.Hidden = &v +} + // GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. func (o *PythonPythonDistributionResponse) GetPulpLabels() map[string]string { if o == nil || IsNil(o.PulpLabels) { @@ -458,6 +496,9 @@ func (o PythonPythonDistributionResponse) ToMap() (map[string]interface{}, error if o.ContentGuard.IsSet() { toSerialize["content_guard"] = o.ContentGuard.Get() } + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } if !IsNil(o.PulpLabels) { toSerialize["pulp_labels"] = o.PulpLabels } diff --git a/release/model_rpm_rpm_distribution.go b/release/model_rpm_rpm_distribution.go index 1ad55195..e1198a27 100644 --- a/release/model_rpm_rpm_distribution.go +++ b/release/model_rpm_rpm_distribution.go @@ -24,6 +24,8 @@ type RpmRpmDistribution struct { BasePath string `json:"base_path"` // An optional content-guard. ContentGuard NullableString `json:"content_guard,omitempty"` + // Whether this distribution should be shown in the content app. + Hidden *bool `json:"hidden,omitempty"` PulpLabels *map[string]string `json:"pulp_labels,omitempty"` // A unique name. Ex, `rawhide` and `stable`. Name string `json:"name"` @@ -40,6 +42,8 @@ type RpmRpmDistribution struct { func NewRpmRpmDistribution(basePath string, name string) *RpmRpmDistribution { this := RpmRpmDistribution{} this.BasePath = basePath + var hidden bool = false + this.Hidden = &hidden this.Name = name return &this } @@ -49,6 +53,8 @@ func NewRpmRpmDistribution(basePath string, name string) *RpmRpmDistribution { // but it doesn't guarantee that properties required by API are set func NewRpmRpmDistributionWithDefaults() *RpmRpmDistribution { this := RpmRpmDistribution{} + var hidden bool = false + this.Hidden = &hidden return &this } @@ -118,6 +124,38 @@ func (o *RpmRpmDistribution) UnsetContentGuard() { o.ContentGuard.Unset() } +// GetHidden returns the Hidden field value if set, zero value otherwise. +func (o *RpmRpmDistribution) GetHidden() bool { + if o == nil || IsNil(o.Hidden) { + var ret bool + return ret + } + return *o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RpmRpmDistribution) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { + return nil, false + } + return o.Hidden, true +} + +// HasHidden returns a boolean if a field has been set. +func (o *RpmRpmDistribution) HasHidden() bool { + if o != nil && !IsNil(o.Hidden) { + return true + } + + return false +} + +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *RpmRpmDistribution) SetHidden(v bool) { + o.Hidden = &v +} + // GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. func (o *RpmRpmDistribution) GetPulpLabels() map[string]string { if o == nil || IsNil(o.PulpLabels) { @@ -272,6 +310,9 @@ func (o RpmRpmDistribution) ToMap() (map[string]interface{}, error) { if o.ContentGuard.IsSet() { toSerialize["content_guard"] = o.ContentGuard.Get() } + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } if !IsNil(o.PulpLabels) { toSerialize["pulp_labels"] = o.PulpLabels } diff --git a/release/model_rpm_rpm_distribution_response.go b/release/model_rpm_rpm_distribution_response.go index bfaf7ed4..01b4b68e 100644 --- a/release/model_rpm_rpm_distribution_response.go +++ b/release/model_rpm_rpm_distribution_response.go @@ -30,6 +30,8 @@ type RpmRpmDistributionResponse struct { BaseUrl *string `json:"base_url,omitempty"` // An optional content-guard. ContentGuard NullableString `json:"content_guard,omitempty"` + // Whether this distribution should be shown in the content app. + Hidden *bool `json:"hidden,omitempty"` PulpLabels *map[string]string `json:"pulp_labels,omitempty"` // A unique name. Ex, `rawhide` and `stable`. Name string `json:"name"` @@ -46,6 +48,8 @@ type RpmRpmDistributionResponse struct { func NewRpmRpmDistributionResponse(basePath string, name string) *RpmRpmDistributionResponse { this := RpmRpmDistributionResponse{} this.BasePath = basePath + var hidden bool = false + this.Hidden = &hidden this.Name = name return &this } @@ -55,6 +59,8 @@ func NewRpmRpmDistributionResponse(basePath string, name string) *RpmRpmDistribu // but it doesn't guarantee that properties required by API are set func NewRpmRpmDistributionResponseWithDefaults() *RpmRpmDistributionResponse { this := RpmRpmDistributionResponse{} + var hidden bool = false + this.Hidden = &hidden return &this } @@ -220,6 +226,38 @@ func (o *RpmRpmDistributionResponse) UnsetContentGuard() { o.ContentGuard.Unset() } +// GetHidden returns the Hidden field value if set, zero value otherwise. +func (o *RpmRpmDistributionResponse) GetHidden() bool { + if o == nil || IsNil(o.Hidden) { + var ret bool + return ret + } + return *o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RpmRpmDistributionResponse) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { + return nil, false + } + return o.Hidden, true +} + +// HasHidden returns a boolean if a field has been set. +func (o *RpmRpmDistributionResponse) HasHidden() bool { + if o != nil && !IsNil(o.Hidden) { + return true + } + + return false +} + +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *RpmRpmDistributionResponse) SetHidden(v bool) { + o.Hidden = &v +} + // GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. func (o *RpmRpmDistributionResponse) GetPulpLabels() map[string]string { if o == nil || IsNil(o.PulpLabels) { @@ -377,6 +415,9 @@ func (o RpmRpmDistributionResponse) ToMap() (map[string]interface{}, error) { if o.ContentGuard.IsSet() { toSerialize["content_guard"] = o.ContentGuard.Get() } + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } if !IsNil(o.PulpLabels) { toSerialize["pulp_labels"] = o.PulpLabels } diff --git a/release/model_task_response.go b/release/model_task_response.go index a7152501..7094526e 100644 --- a/release/model_task_response.go +++ b/release/model_task_response.go @@ -30,6 +30,8 @@ type TaskResponse struct { Name string `json:"name"` // The logging correlation id associated with this task LoggingCid string `json:"logging_cid"` + // User who dispatched this task. + CreatedBy *string `json:"created_by,omitempty"` // Timestamp of the when this task started execution. StartedAt *time.Time `json:"started_at,omitempty"` // Timestamp of the when this task stopped execution. @@ -214,6 +216,38 @@ func (o *TaskResponse) SetLoggingCid(v string) { o.LoggingCid = v } +// GetCreatedBy returns the CreatedBy field value if set, zero value otherwise. +func (o *TaskResponse) GetCreatedBy() string { + if o == nil || IsNil(o.CreatedBy) { + var ret string + return ret + } + return *o.CreatedBy +} + +// GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TaskResponse) GetCreatedByOk() (*string, bool) { + if o == nil || IsNil(o.CreatedBy) { + return nil, false + } + return o.CreatedBy, true +} + +// HasCreatedBy returns a boolean if a field has been set. +func (o *TaskResponse) HasCreatedBy() bool { + if o != nil && !IsNil(o.CreatedBy) { + return true + } + + return false +} + +// SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field. +func (o *TaskResponse) SetCreatedBy(v string) { + o.CreatedBy = &v +} + // GetStartedAt returns the StartedAt field value if set, zero value otherwise. func (o *TaskResponse) GetStartedAt() time.Time { if o == nil || IsNil(o.StartedAt) { @@ -549,6 +583,7 @@ func (o TaskResponse) ToMap() (map[string]interface{}, error) { // skip: state is readOnly toSerialize["name"] = o.Name toSerialize["logging_cid"] = o.LoggingCid + // skip: created_by is readOnly // skip: started_at is readOnly // skip: finished_at is readOnly // skip: error is readOnly