diff --git a/release/README.md b/release/README.md index 5223212..d7360d1 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: 386d86254354e29d3b864523aed4786944b943f67968b5e2da9ab863deab9a54 +- Package version: 386d86254354e29d3b864523aed4786962d4d2167968b5e2da9ab863deab9a54 - Generator version: 7.9.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 4be3e98..9115b14 100644 --- a/release/api/openapi.yaml +++ b/release/api/openapi.yaml @@ -13,13 +13,13 @@ info: x-logo: url: https://pulp.plan.io/attachments/download/517478/pulp_logo_word_rectangle.svg x-pulp-app-versions: - core: 3.66.0 - rpm: 3.27.1 - certguard: 3.66.0 - file: 3.66.0 + core: 3.67.0 + certguard: 3.67.0 + file: 3.67.0 + rpm: 3.27.2 service: 0.1.0 ostree: 2.4.3 - python: 3.12.3 + python: 3.12.5 gem: 0.6.1 x-pulp-domain-enabled: true servers: @@ -1979,13 +1979,13 @@ paths: `core.openpgp_publickey` - core.openpgp_publickey* `core.openpgp_publicsubkey` - core.openpgp_publicsubkey* `core.openpgp_userid` - core.openpgp_userid* `core.openpgp_userattribute` - core.openpgp_userattribute* `core.openpgp_signature` - - core.openpgp_signature* `rpm.advisory` - rpm.advisory* `rpm.packagegroup` - - rpm.packagegroup* `rpm.packagecategory` - rpm.packagecategory* `rpm.packageenvironment` - - rpm.packageenvironment* `rpm.packagelangpacks` - rpm.packagelangpacks* - `rpm.repo_metadata_file` - rpm.repo_metadata_file* `rpm.distribution_tree` - - rpm.distribution_tree* `rpm.package` - rpm.package* `rpm.modulemd` - rpm.modulemd* - `rpm.modulemd_defaults` - rpm.modulemd_defaults* `rpm.modulemd_obsolete` - - rpm.modulemd_obsolete* `file.file` - file.file* `ostree.object` - ostree.object* + - core.openpgp_signature* `file.file` - file.file* `rpm.advisory` - rpm.advisory* + `rpm.packagegroup` - rpm.packagegroup* `rpm.packagecategory` - rpm.packagecategory* + `rpm.packageenvironment` - rpm.packageenvironment* `rpm.packagelangpacks` + - rpm.packagelangpacks* `rpm.repo_metadata_file` - rpm.repo_metadata_file* + `rpm.distribution_tree` - rpm.distribution_tree* `rpm.package` - rpm.package* + `rpm.modulemd` - rpm.modulemd* `rpm.modulemd_defaults` - rpm.modulemd_defaults* + `rpm.modulemd_obsolete` - rpm.modulemd_obsolete* `ostree.object` - ostree.object* `ostree.commit` - ostree.commit* `ostree.refs` - ostree.refs* `ostree.content` - ostree.content* `ostree.config` - ostree.config* `ostree.summary` - ostree.summary* `python.python` - python.python* `gem.gem` - gem.gem @@ -2027,13 +2027,13 @@ paths: - core.publishedmetadata* `core.openpgp_publickey` - core.openpgp_publickey* `core.openpgp_publicsubkey` - core.openpgp_publicsubkey* `core.openpgp_userid` - core.openpgp_userid* `core.openpgp_userattribute` - core.openpgp_userattribute* - `core.openpgp_signature` - core.openpgp_signature* `rpm.advisory` - rpm.advisory* - `rpm.packagegroup` - rpm.packagegroup* `rpm.packagecategory` - rpm.packagecategory* - `rpm.packageenvironment` - rpm.packageenvironment* `rpm.packagelangpacks` - - rpm.packagelangpacks* `rpm.repo_metadata_file` - rpm.repo_metadata_file* - `rpm.distribution_tree` - rpm.distribution_tree* `rpm.package` - rpm.package* - `rpm.modulemd` - rpm.modulemd* `rpm.modulemd_defaults` - rpm.modulemd_defaults* - `rpm.modulemd_obsolete` - rpm.modulemd_obsolete* `file.file` - file.file* + `core.openpgp_signature` - core.openpgp_signature* `file.file` - file.file* + `rpm.advisory` - rpm.advisory* `rpm.packagegroup` - rpm.packagegroup* `rpm.packagecategory` + - rpm.packagecategory* `rpm.packageenvironment` - rpm.packageenvironment* + `rpm.packagelangpacks` - rpm.packagelangpacks* `rpm.repo_metadata_file` + - rpm.repo_metadata_file* `rpm.distribution_tree` - rpm.distribution_tree* + `rpm.package` - rpm.package* `rpm.modulemd` - rpm.modulemd* `rpm.modulemd_defaults` + - rpm.modulemd_defaults* `rpm.modulemd_obsolete` - rpm.modulemd_obsolete* `ostree.object` - ostree.object* `ostree.commit` - ostree.commit* `ostree.refs` - ostree.refs* `ostree.content` - ostree.content* `ostree.config` - ostree.config* `ostree.summary` - ostree.summary* `python.python` - python.python* `gem.gem` @@ -12346,7 +12346,7 @@ paths: type: string style: form - description: Pulp type* `core.artifact` - core.artifact* `core.openpgp` - - core.openpgp* `rpm.rpm` - rpm.rpm* `file.file` - file.file* `ostree.ostree` + core.openpgp* `file.file` - file.file* `rpm.rpm` - rpm.rpm* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem explode: true in: query @@ -12364,9 +12364,9 @@ paths: type: string style: form - description: Multiple values may be separated by commas.* `core.artifact` - - core.artifact* `core.openpgp` - core.openpgp* `rpm.rpm` - rpm.rpm* `file.file` - - file.file* `ostree.ostree` - ostree.ostree* `python.python` - python.python* - `gem.gem` - gem.gem + - core.artifact* `core.openpgp` - core.openpgp* `file.file` - file.file* + `rpm.rpm` - rpm.rpm* `ostree.ostree` - ostree.ostree* `python.python` - + python.python* `gem.gem` - gem.gem explode: false in: query name: pulp_type__in @@ -19984,7 +19984,7 @@ paths: type: string type: array style: form - - description: Pulp type* `rpm.rpm` - rpm.rpm* `file.file` - file.file* `python.python` + - description: Pulp type* `file.file` - file.file* `rpm.rpm` - rpm.rpm* `python.python` - python.python* `gem.gem` - gem.gem explode: true in: query @@ -19998,8 +19998,8 @@ paths: - rpm.rpm type: string style: form - - description: Multiple values may be separated by commas.* `rpm.rpm` - rpm.rpm* - `file.file` - file.file* `python.python` - python.python* `gem.gem` - gem.gem + - description: Multiple values may be separated by commas.* `file.file` - file.file* + `rpm.rpm` - rpm.rpm* `python.python` - python.python* `gem.gem` - gem.gem explode: false in: query name: pulp_type__in @@ -22353,8 +22353,8 @@ paths: type: string type: array style: form - - description: Pulp type* `rpm.rpm` - rpm.rpm* `rpm.uln` - rpm.uln* `file.file` - - file.file* `ostree.ostree` - ostree.ostree* `python.python` - python.python* + - description: Pulp type* `file.file` - file.file* `rpm.rpm` - rpm.rpm* `rpm.uln` + - rpm.uln* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem explode: true in: query @@ -22370,8 +22370,8 @@ paths: - rpm.uln type: string style: form - - description: Multiple values may be separated by commas.* `rpm.rpm` - rpm.rpm* - `rpm.uln` - rpm.uln* `file.file` - file.file* `ostree.ostree` - ostree.ostree* + - description: Multiple values may be separated by commas.* `file.file` - file.file* + `rpm.rpm` - rpm.rpm* `rpm.uln` - rpm.uln* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem explode: false in: query @@ -27184,9 +27184,9 @@ paths: schema: type: string style: form - - description: Pulp type* `core.openpgp` - core.openpgp* `rpm.rpm` - rpm.rpm* - `file.file` - file.file* `ostree.ostree` - ostree.ostree* `python.python` - - python.python* `gem.gem` - gem.gem + - description: Pulp type* `core.openpgp` - core.openpgp* `file.file` - file.file* + `rpm.rpm` - rpm.rpm* `ostree.ostree` - ostree.ostree* `python.python` - + python.python* `gem.gem` - gem.gem explode: true in: query name: pulp_type @@ -27202,7 +27202,7 @@ paths: type: string style: form - description: Multiple values may be separated by commas.* `core.openpgp` - - core.openpgp* `rpm.rpm` - rpm.rpm* `file.file` - file.file* `ostree.ostree` + core.openpgp* `file.file` - file.file* `rpm.rpm` - rpm.rpm* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem explode: false in: query @@ -39669,44 +39669,45 @@ components: ArtifactDistributionResponse: description: A serializer for ArtifactDistribution. example: + pulp_href: https://openapi-generator.tech + hidden: false pulp_labels: key: pulp_labels - hidden: false - pulp_href: https://openapi-generator.tech no_content_change_since: no_content_change_since - base_url: base_url name: name - pulp_created: 2000-01-23T04:56:07.000+00:00 + base_url: base_url base_path: base_path + pulp_created: 2000-01-23T04:56:07.000+00:00 pulp_last_updated: 2000-01-23T04:56:07.000+00:00 prn: prn content_guard: https://openapi-generator.tech properties: - pulp_labels: - additionalProperties: - nullable: true - type: string - type: object - pulp_created: - description: Timestamp of creation. - format: date-time + pulp_href: + format: uri + readOnly: true + type: string + prn: + description: The Pulp Resource Name (PRN). readOnly: true type: string - hidden: - default: false - description: Whether this distribution should be shown in the content app. - type: boolean no_content_change_since: description: "Timestamp since when the distributed content served by this\ \ distribution has not changed. If equals to `null`, no guarantee is provided\ \ about content changes." 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 - (e.g. "foo" and "foo/bar") + name: + description: "A unique name. Ex, `rawhide` and `stable`." + type: string + content_guard: + description: An optional content-guard. + format: uri + nullable: true type: string + hidden: + default: false + description: Whether this distribution should be shown in the content app. + type: boolean pulp_last_updated: description: "Timestamp of the last time this resource was updated. Note:\ \ for immutable resources - like content, repository versions, and publication\ @@ -39714,24 +39715,23 @@ components: format: date-time readOnly: true type: string - content_guard: - description: An optional content-guard. - format: uri - nullable: true + 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_labels: + additionalProperties: + nullable: true + type: string + type: object base_url: description: The URL for accessing the publication as defined by this distribution. readOnly: true type: string - name: - description: "A unique name. Ex, `rawhide` and `stable`." - type: string - prn: - description: The Pulp Resource Name (PRN). - readOnly: true - type: string - pulp_href: - format: uri + pulp_created: + description: Timestamp of creation. + format: date-time readOnly: true type: string required: @@ -40122,12 +40122,13 @@ components: Copy: description: A serializer for Content Copy API. example: - config: "" + config: "{}" dependency_solving: true properties: config: description: "A JSON document describing sources, destinations, and content\ \ to be copied" + type: object dependency_solving: default: true description: Also copy dependencies of the content being copied. @@ -40438,7 +40439,7 @@ components: - https://openapi-generator.tech pulp_created: 2000-01-23T04:56:07.000+00:00 pulp_last_updated: 2000-01-23T04:56:07.000+00:00 - params: "" + params: "{}" prn: prn properties: pulp_href: @@ -40476,6 +40477,7 @@ components: params: description: Any additional parameters that were used to create the export. readOnly: true + type: object type: object FilesystemExporter: description: Serializer for FilesystemExporters. @@ -40876,7 +40878,7 @@ components: pulp_href: https://openapi-generator.tech pulp_created: 2000-01-23T04:56:07.000+00:00 pulp_last_updated: 2000-01-23T04:56:07.000+00:00 - params: "" + params: "{}" prn: prn properties: pulp_href: @@ -40905,6 +40907,7 @@ components: type: string params: description: Any parameters that were used to create the import. + type: object required: - params - task @@ -42164,10 +42167,10 @@ components: PackageMetadataResponse: description: A Serializer for a package's metadata. example: - urls: "" + urls: "{}" last_serial: 0 - info: "" - releases: "" + info: "{}" + releases: "{}" properties: last_serial: description: Cache value from last PyPI sync @@ -42175,9 +42178,12 @@ components: type: integer info: description: Core metadata of the package + type: object releases: description: List of all the releases of the package - urls: {} + type: object + urls: + type: object required: - info - last_serial @@ -42308,27 +42314,27 @@ components: previous: http://api.example.org/accounts/?offset=200&limit=100 count: 123 results: - - pulp_labels: - key: pulp_labels + - pulp_href: https://openapi-generator.tech hidden: false - pulp_href: https://openapi-generator.tech + pulp_labels: + key: pulp_labels no_content_change_since: no_content_change_since - base_url: base_url name: name - pulp_created: 2000-01-23T04:56:07.000+00:00 + base_url: base_url base_path: base_path + pulp_created: 2000-01-23T04:56:07.000+00:00 pulp_last_updated: 2000-01-23T04:56:07.000+00:00 prn: prn content_guard: https://openapi-generator.tech - - pulp_labels: - key: pulp_labels + - pulp_href: https://openapi-generator.tech hidden: false - pulp_href: https://openapi-generator.tech + pulp_labels: + key: pulp_labels no_content_change_since: no_content_change_since - base_url: base_url name: name - pulp_created: 2000-01-23T04:56:07.000+00:00 + base_url: base_url base_path: base_path + pulp_created: 2000-01-23T04:56:07.000+00:00 pulp_last_updated: 2000-01-23T04:56:07.000+00:00 prn: prn content_guard: https://openapi-generator.tech @@ -42647,7 +42653,7 @@ components: - https://openapi-generator.tech pulp_created: 2000-01-23T04:56:07.000+00:00 pulp_last_updated: 2000-01-23T04:56:07.000+00:00 - params: "" + params: "{}" prn: prn - task: https://openapi-generator.tech pulp_href: https://openapi-generator.tech @@ -42656,7 +42662,7 @@ components: - https://openapi-generator.tech pulp_created: 2000-01-23T04:56:07.000+00:00 pulp_last_updated: 2000-01-23T04:56:07.000+00:00 - params: "" + params: "{}" prn: prn properties: count: @@ -42898,13 +42904,13 @@ components: pulp_href: https://openapi-generator.tech pulp_created: 2000-01-23T04:56:07.000+00:00 pulp_last_updated: 2000-01-23T04:56:07.000+00:00 - params: "" + params: "{}" prn: prn - task: https://openapi-generator.tech pulp_href: https://openapi-generator.tech pulp_created: 2000-01-23T04:56:07.000+00:00 pulp_last_updated: 2000-01-23T04:56:07.000+00:00 - params: "" + params: "{}" prn: prn properties: count: @@ -43626,8 +43632,8 @@ components: previous: http://api.example.org/accounts/?offset=200&limit=100 count: 123 results: - - output_file_info: "" - toc_info: "" + - output_file_info: "{}" + toc_info: "{}" task: https://openapi-generator.tech pulp_href: https://openapi-generator.tech exported_resources: @@ -43635,10 +43641,10 @@ components: - https://openapi-generator.tech pulp_created: 2000-01-23T04:56:07.000+00:00 pulp_last_updated: 2000-01-23T04:56:07.000+00:00 - params: "" + params: "{}" prn: prn - - output_file_info: "" - toc_info: "" + - output_file_info: "{}" + toc_info: "{}" task: https://openapi-generator.tech pulp_href: https://openapi-generator.tech exported_resources: @@ -43646,7 +43652,7 @@ components: - https://openapi-generator.tech pulp_created: 2000-01-23T04:56:07.000+00:00 pulp_last_updated: 2000-01-23T04:56:07.000+00:00 - params: "" + params: "{}" prn: prn properties: count: @@ -45904,27 +45910,27 @@ components: previous: http://api.example.org/accounts/?offset=200&limit=100 count: 123 results: - - obsoletes_dist: "" + - obsoletes_dist: "{}" sha256: "" keywords: keywords description: description project_url: project_url - project_urls: "" + project_urls: "{}" maintainer: maintainer platform: platform artifact: https://openapi-generator.tech home_page: home_page - requires_dist: "" + requires_dist: "{}" download_url: download_url - classifiers: "" + classifiers: "{}" author_email: author_email requires_python: requires_python metadata_version: metadata_version summary: summary pulp_href: https://openapi-generator.tech - requires_external: "" + requires_external: "{}" author: author - provides_dist: "" + provides_dist: "{}" pulp_last_updated: 2000-01-23T04:56:07.000+00:00 prn: prn version: version @@ -45936,27 +45942,27 @@ components: pulp_created: 2000-01-23T04:56:07.000+00:00 packagetype: packagetype description_content_type: description_content_type - - obsoletes_dist: "" + - obsoletes_dist: "{}" sha256: "" keywords: keywords description: description project_url: project_url - project_urls: "" + project_urls: "{}" maintainer: maintainer platform: platform artifact: https://openapi-generator.tech home_page: home_page - requires_dist: "" + requires_dist: "{}" download_url: download_url - classifiers: "" + classifiers: "{}" author_email: author_email requires_python: requires_python metadata_version: metadata_version summary: summary pulp_href: https://openapi-generator.tech - requires_external: "" + requires_external: "{}" author: author - provides_dist: "" + provides_dist: "{}" pulp_last_updated: 2000-01-23T04:56:07.000+00:00 prn: prn version: version @@ -46361,14 +46367,14 @@ components: - pulp_href: https://openapi-generator.tech stream: stream module: module - profiles: "" + profiles: "{}" pulp_created: 2000-01-23T04:56:07.000+00:00 pulp_last_updated: 2000-01-23T04:56:07.000+00:00 prn: prn - pulp_href: https://openapi-generator.tech stream: stream module: module - profiles: "" + profiles: "{}" pulp_created: 2000-01-23T04:56:07.000+00:00 pulp_last_updated: 2000-01-23T04:56:07.000+00:00 prn: prn @@ -46455,7 +46461,7 @@ components: count: 123 results: - pulp_href: https://openapi-generator.tech - profiles: "" + profiles: "{}" description: description pulp_last_updated: 2000-01-23T04:56:07.000+00:00 packages: @@ -46463,16 +46469,16 @@ components: - https://openapi-generator.tech prn: prn version: version - dependencies: "" + dependencies: "{}" static_context: true stream: stream name: name context: context pulp_created: 2000-01-23T04:56:07.000+00:00 arch: arch - artifacts: "" + artifacts: "{}" - pulp_href: https://openapi-generator.tech - profiles: "" + profiles: "{}" description: description pulp_last_updated: 2000-01-23T04:56:07.000+00:00 packages: @@ -46480,14 +46486,14 @@ components: - https://openapi-generator.tech prn: prn version: version - dependencies: "" + dependencies: "{}" static_context: true stream: stream name: name context: context pulp_created: 2000-01-23T04:56:07.000+00:00 arch: arch - artifacts: "" + artifacts: "{}" properties: count: example: 123 @@ -46517,25 +46523,25 @@ components: count: 123 results: - pulp_href: https://openapi-generator.tech - desc_by_lang: "" + desc_by_lang: "{}" name: name display_order: 0 - group_ids: "" + group_ids: "{}" digest: digest description: description - name_by_lang: "" + name_by_lang: "{}" pulp_created: 2000-01-23T04:56:07.000+00:00 id: id pulp_last_updated: 2000-01-23T04:56:07.000+00:00 prn: prn - pulp_href: https://openapi-generator.tech - desc_by_lang: "" + desc_by_lang: "{}" name: name display_order: 0 - group_ids: "" + group_ids: "{}" digest: digest description: description - name_by_lang: "" + name_by_lang: "{}" pulp_created: 2000-01-23T04:56:07.000+00:00 id: id pulp_last_updated: 2000-01-23T04:56:07.000+00:00 @@ -46569,29 +46575,29 @@ components: count: 123 results: - pulp_href: https://openapi-generator.tech - desc_by_lang: "" + desc_by_lang: "{}" display_order: 0 description: description - option_ids: "" + option_ids: "{}" pulp_last_updated: 2000-01-23T04:56:07.000+00:00 prn: prn name: name - group_ids: "" + group_ids: "{}" digest: digest - name_by_lang: "" + name_by_lang: "{}" pulp_created: 2000-01-23T04:56:07.000+00:00 id: id - pulp_href: https://openapi-generator.tech - desc_by_lang: "" + desc_by_lang: "{}" display_order: 0 description: description - option_ids: "" + option_ids: "{}" pulp_last_updated: 2000-01-23T04:56:07.000+00:00 prn: prn name: name - group_ids: "" + group_ids: "{}" digest: digest - name_by_lang: "" + name_by_lang: "{}" pulp_created: 2000-01-23T04:56:07.000+00:00 id: id properties: @@ -46624,31 +46630,31 @@ components: results: - biarch_only: true pulp_href: https://openapi-generator.tech - desc_by_lang: "" + desc_by_lang: "{}" display_order: 0 description: description pulp_last_updated: 2000-01-23T04:56:07.000+00:00 - packages: "" + packages: "{}" prn: prn default: true name: name digest: digest - name_by_lang: "" + name_by_lang: "{}" pulp_created: 2000-01-23T04:56:07.000+00:00 id: id user_visible: true - biarch_only: true pulp_href: https://openapi-generator.tech - desc_by_lang: "" + desc_by_lang: "{}" display_order: 0 description: description pulp_last_updated: 2000-01-23T04:56:07.000+00:00 - packages: "" + packages: "{}" prn: prn default: true name: name digest: digest - name_by_lang: "" + name_by_lang: "{}" pulp_created: 2000-01-23T04:56:07.000+00:00 id: id user_visible: true @@ -46685,13 +46691,13 @@ components: pulp_created: 2000-01-23T04:56:07.000+00:00 pulp_last_updated: 2000-01-23T04:56:07.000+00:00 prn: prn - matches: "" + matches: "{}" - pulp_href: https://openapi-generator.tech digest: digest pulp_created: 2000-01-23T04:56:07.000+00:00 pulp_last_updated: 2000-01-23T04:56:07.000+00:00 prn: prn - matches: "" + matches: "{}" properties: count: example: 123 @@ -46722,7 +46728,7 @@ components: results: - rpm_header_end: 6 size_installed: 5 - enhances: "" + enhances: "{}" sha256: sha256 release: release size_package: 5 @@ -46732,44 +46738,44 @@ components: epoch: epoch rpm_vendor: rpm_vendor artifact: https://openapi-generator.tech - suggests: "" + suggests: "{}" location_href: location_href checksum_type: checksum_type rpm_sourcerpm: rpm_sourcerpm - provides: "" + provides: "{}" size_archive: 1 - conflicts: "" + conflicts: "{}" pkgId: pkgId sha384: sha384 summary: summary is_modular: true pulp_href: https://openapi-generator.tech - changelogs: "" + changelogs: "{}" rpm_packager: rpm_packager sha224: sha224 pulp_last_updated: 2000-01-23T04:56:07.000+00:00 prn: prn version: version - obsoletes: "" + obsoletes: "{}" rpm_license: rpm_license url: url rpm_group: rpm_group sha1: sha1 - supplements: "" + supplements: "{}" name: name - files: "" + files: "{}" pulp_created: 2000-01-23T04:56:07.000+00:00 location_base: location_base rpm_header_start: 0 time_build: 2 arch: arch - recommends: "" + recommends: "{}" rpm_buildhost: rpm_buildhost md5: md5 - requires: "" + requires: "{}" - rpm_header_end: 6 size_installed: 5 - enhances: "" + enhances: "{}" sha256: sha256 release: release size_package: 5 @@ -46779,41 +46785,41 @@ components: epoch: epoch rpm_vendor: rpm_vendor artifact: https://openapi-generator.tech - suggests: "" + suggests: "{}" location_href: location_href checksum_type: checksum_type rpm_sourcerpm: rpm_sourcerpm - provides: "" + provides: "{}" size_archive: 1 - conflicts: "" + conflicts: "{}" pkgId: pkgId sha384: sha384 summary: summary is_modular: true pulp_href: https://openapi-generator.tech - changelogs: "" + changelogs: "{}" rpm_packager: rpm_packager sha224: sha224 pulp_last_updated: 2000-01-23T04:56:07.000+00:00 prn: prn version: version - obsoletes: "" + obsoletes: "{}" rpm_license: rpm_license url: url rpm_group: rpm_group sha1: sha1 - supplements: "" + supplements: "{}" name: name - files: "" + files: "{}" pulp_created: 2000-01-23T04:56:07.000+00:00 location_base: location_base rpm_header_start: 0 time_build: 2 arch: arch - recommends: "" + recommends: "{}" rpm_buildhost: rpm_buildhost md5: md5 - requires: "" + requires: "{}" properties: count: example: 123 @@ -47019,7 +47025,7 @@ components: metadata_checksum_type: "" package_checksum_type: "" pulp_created: 2000-01-23T04:56:07.000+00:00 - repo_config: "" + repo_config: "{}" - repo_gpgcheck: 0 pulp_href: https://openapi-generator.tech sqlite_metadata: false @@ -47033,7 +47039,7 @@ components: metadata_checksum_type: "" package_checksum_type: "" pulp_created: 2000-01-23T04:56:07.000+00:00 - repo_config: "" + repo_config: "{}" properties: count: example: 123 @@ -47171,7 +47177,7 @@ components: retain_repo_versions: 1 package_signing_service: https://openapi-generator.tech retain_package_versions: 0 - repo_config: "" + repo_config: "{}" metadata_signing_service: https://openapi-generator.tech - repo_gpgcheck: 0 pulp_href: https://openapi-generator.tech @@ -47196,7 +47202,7 @@ components: retain_repo_versions: 1 package_signing_service: https://openapi-generator.tech retain_package_versions: 0 - repo_config: "" + repo_config: "{}" metadata_signing_service: https://openapi-generator.tech properties: count: @@ -47316,13 +47322,13 @@ components: severity: severity pulp_href: https://openapi-generator.tech pkglist: - - module: "" + - module: "{}" name: name packages: - "{}" - "{}" shortname: shortname - - module: "" + - module: "{}" name: name packages: - "{}" @@ -47352,13 +47358,13 @@ components: severity: severity pulp_href: https://openapi-generator.tech pkglist: - - module: "" + - module: "{}" name: name packages: - "{}" - "{}" shortname: shortname - - module: "" + - module: "{}" name: name packages: - "{}" @@ -49205,6 +49211,7 @@ components: type: integer repo_config: description: A JSON document describing config.repo file + type: object compression_type: allOf: - $ref: '#/components/schemas/CompressionTypeEnum' @@ -49559,8 +49566,8 @@ components: PulpExportResponse: description: Serializer for PulpExports. example: - output_file_info: "" - toc_info: "" + output_file_info: "{}" + toc_info: "{}" task: https://openapi-generator.tech pulp_href: https://openapi-generator.tech exported_resources: @@ -49568,7 +49575,7 @@ components: - https://openapi-generator.tech pulp_created: 2000-01-23T04:56:07.000+00:00 pulp_last_updated: 2000-01-23T04:56:07.000+00:00 - params: "" + params: "{}" prn: prn properties: pulp_href: @@ -49606,13 +49613,16 @@ components: params: description: Any additional parameters that were used to create the export. readOnly: true + type: object output_file_info: description: "Dictionary of filename: sha256hash entries for export-output-file(s)" readOnly: true + type: object toc_info: description: Filename and sha256-checksum of table-of-contents for this export readOnly: true + type: object type: object PulpExporter: description: Serializer for pulp exporters. @@ -54644,6 +54654,7 @@ components: type: string project_urls: description: A dictionary of labels and URLs for the project. + type: object platform: description: "A comma-separated list of platform specifications, summarizing\ \ the operating systems supported by the package." @@ -54655,45 +54666,50 @@ components: requires_dist: description: A JSON list containing names of some other distutils project required by this distribution. + type: object provides_dist: description: A JSON list containing names of a Distutils project which is contained within this distribution. + type: object obsoletes_dist: description: "A JSON list containing names of a distutils project's distribution\ \ which this distribution renders obsolete, meaning that the two projects\ \ should not be installed at the same time." + type: object requires_external: description: A JSON list containing some dependency in the system that the distribution is to be used. + type: object classifiers: description: A JSON list containing classification values for a Python package. + type: object required: - relative_path type: object python.PythonPackageContentResponse: description: A Serializer for PythonPackageContent. example: - obsoletes_dist: "" + obsoletes_dist: "{}" sha256: "" keywords: keywords description: description project_url: project_url - project_urls: "" + project_urls: "{}" maintainer: maintainer platform: platform artifact: https://openapi-generator.tech home_page: home_page - requires_dist: "" + requires_dist: "{}" download_url: download_url - classifiers: "" + classifiers: "{}" author_email: author_email requires_python: requires_python metadata_version: metadata_version summary: summary pulp_href: https://openapi-generator.tech - requires_external: "" + requires_external: "{}" author: author - provides_dist: "" + provides_dist: "{}" pulp_last_updated: 2000-01-23T04:56:07.000+00:00 prn: prn version: version @@ -54806,6 +54822,7 @@ components: type: string project_urls: description: A dictionary of labels and URLs for the project. + type: object platform: description: "A comma-separated list of platform specifications, summarizing\ \ the operating systems supported by the package." @@ -54817,18 +54834,23 @@ components: requires_dist: description: A JSON list containing names of some other distutils project required by this distribution. + type: object provides_dist: description: A JSON list containing names of a Distutils project which is contained within this distribution. + type: object obsoletes_dist: description: "A JSON list containing names of a distutils project's distribution\ \ which this distribution renders obsolete, meaning that the two projects\ \ should not be installed at the same time." + type: object requires_external: description: A JSON list containing some dependency in the system that the distribution is to be used. + type: object classifiers: description: A JSON list containing classification values for a Python package. + type: object type: object python.PythonPublication: description: A Serializer for PythonPublication. @@ -55572,9 +55594,11 @@ components: artifacts: description: Modulemd artifacts. nullable: true + type: object dependencies: description: Modulemd dependencies. nullable: true + type: object packages: description: Modulemd artifacts' packages. items: @@ -55590,6 +55614,7 @@ components: profiles: description: Modulemd profiles. nullable: true + type: object description: description: Description of module. minLength: 1 @@ -55625,6 +55650,7 @@ components: type: string profiles: description: Default profiles for modulemd streams. + type: object snippet: description: Modulemd default snippet minLength: 1 @@ -55642,7 +55668,7 @@ components: pulp_href: https://openapi-generator.tech stream: stream module: module - profiles: "" + profiles: "{}" pulp_created: 2000-01-23T04:56:07.000+00:00 pulp_last_updated: 2000-01-23T04:56:07.000+00:00 prn: prn @@ -55675,6 +55701,7 @@ components: type: string profiles: description: Default profiles for modulemd streams. + type: object required: - module - profiles @@ -55831,7 +55858,7 @@ components: description: Modulemd serializer. example: pulp_href: https://openapi-generator.tech - profiles: "" + profiles: "{}" description: description pulp_last_updated: 2000-01-23T04:56:07.000+00:00 packages: @@ -55839,14 +55866,14 @@ components: - https://openapi-generator.tech prn: prn version: version - dependencies: "" + dependencies: "{}" static_context: true stream: stream name: name context: context pulp_created: 2000-01-23T04:56:07.000+00:00 arch: arch - artifacts: "" + artifacts: "{}" properties: pulp_href: format: uri @@ -55889,9 +55916,11 @@ components: artifacts: description: Modulemd artifacts. nullable: true + type: object dependencies: description: Modulemd dependencies. nullable: true + type: object packages: description: Modulemd artifacts' packages. items: @@ -55902,6 +55931,7 @@ components: profiles: description: Modulemd profiles. nullable: true + type: object description: description: Description of module. type: string @@ -55957,13 +55987,13 @@ components: description: PackageCategory serializer. example: pulp_href: https://openapi-generator.tech - desc_by_lang: "" + desc_by_lang: "{}" name: name display_order: 0 - group_ids: "" + group_ids: "{}" digest: digest description: description - name_by_lang: "" + name_by_lang: "{}" pulp_created: 2000-01-23T04:56:07.000+00:00 id: id pulp_last_updated: 2000-01-23T04:56:07.000+00:00 @@ -56006,12 +56036,15 @@ components: group_ids: description: Category group list. nullable: true + type: object desc_by_lang: description: Category description by language. nullable: true + type: object name_by_lang: description: Category name by language. nullable: true + type: object digest: description: Category digest. type: string @@ -56029,16 +56062,16 @@ components: description: PackageEnvironment serializer. example: pulp_href: https://openapi-generator.tech - desc_by_lang: "" + desc_by_lang: "{}" display_order: 0 description: description - option_ids: "" + option_ids: "{}" pulp_last_updated: 2000-01-23T04:56:07.000+00:00 prn: prn name: name - group_ids: "" + group_ids: "{}" digest: digest - name_by_lang: "" + name_by_lang: "{}" pulp_created: 2000-01-23T04:56:07.000+00:00 id: id properties: @@ -56079,15 +56112,19 @@ components: group_ids: description: Environment group list. nullable: true + type: object option_ids: description: Environment option ids nullable: true + type: object desc_by_lang: description: Environment description by language. nullable: true + type: object name_by_lang: description: Environment name by language. nullable: true + type: object digest: description: Environment digest. type: string @@ -56107,16 +56144,16 @@ components: example: biarch_only: true pulp_href: https://openapi-generator.tech - desc_by_lang: "" + desc_by_lang: "{}" display_order: 0 description: description pulp_last_updated: 2000-01-23T04:56:07.000+00:00 - packages: "" + packages: "{}" prn: prn default: true name: name digest: digest - name_by_lang: "" + name_by_lang: "{}" pulp_created: 2000-01-23T04:56:07.000+00:00 id: id user_visible: true @@ -56164,15 +56201,18 @@ components: packages: description: PackageGroup package list. nullable: true + type: object biarch_only: description: PackageGroup biarch only. type: boolean desc_by_lang: description: PackageGroup description by language. nullable: true + type: object name_by_lang: description: PackageGroup name by language. nullable: true + type: object digest: description: PackageGroup digest. type: string @@ -56194,7 +56234,7 @@ components: pulp_created: 2000-01-23T04:56:07.000+00:00 pulp_last_updated: 2000-01-23T04:56:07.000+00:00 prn: prn - matches: "" + matches: "{}" properties: pulp_href: format: uri @@ -56219,6 +56259,7 @@ components: matches: description: Langpacks matches. nullable: true + type: object digest: description: Langpacks digest. nullable: true @@ -56234,7 +56275,7 @@ components: example: rpm_header_end: 6 size_installed: 5 - enhances: "" + enhances: "{}" sha256: sha256 release: release size_package: 5 @@ -56244,41 +56285,41 @@ components: epoch: epoch rpm_vendor: rpm_vendor artifact: https://openapi-generator.tech - suggests: "" + suggests: "{}" location_href: location_href checksum_type: checksum_type rpm_sourcerpm: rpm_sourcerpm - provides: "" + provides: "{}" size_archive: 1 - conflicts: "" + conflicts: "{}" pkgId: pkgId sha384: sha384 summary: summary is_modular: true pulp_href: https://openapi-generator.tech - changelogs: "" + changelogs: "{}" rpm_packager: rpm_packager sha224: sha224 pulp_last_updated: 2000-01-23T04:56:07.000+00:00 prn: prn version: version - obsoletes: "" + obsoletes: "{}" rpm_license: rpm_license url: url rpm_group: rpm_group sha1: sha1 - supplements: "" + supplements: "{}" name: name - files: "" + files: "{}" pulp_created: 2000-01-23T04:56:07.000+00:00 location_base: location_base rpm_header_start: 0 time_build: 2 arch: arch - recommends: "" + recommends: "{}" rpm_buildhost: rpm_buildhost md5: md5 - requires: "" + requires: "{}" properties: pulp_href: format: uri @@ -56371,45 +56412,45 @@ components: readOnly: true type: string changelogs: - default: "[]" description: Changelogs that package contains readOnly: true + type: object files: - default: "[]" description: Files that package contains readOnly: true + type: object requires: - default: "[]" description: Capabilities the package requires readOnly: true + type: object provides: - default: "[]" description: Capabilities the package provides readOnly: true + type: object conflicts: - default: "[]" description: Capabilities the package conflicts readOnly: true + type: object obsoletes: - default: "[]" description: Capabilities the package obsoletes readOnly: true + type: object suggests: - default: "[]" description: Capabilities the package suggests readOnly: true + type: object enhances: - default: "[]" description: Capabilities the package enhances readOnly: true + type: object recommends: - default: "[]" description: Capabilities the package recommends readOnly: true + type: object supplements: - default: "[]" description: Capabilities the package supplements readOnly: true + type: object location_base: description: Base location of this package readOnly: true @@ -56832,6 +56873,7 @@ components: type: integer repo_config: description: A JSON document describing config.repo file + type: object compression_type: allOf: - $ref: '#/components/schemas/CompressionTypeEnum' @@ -56854,7 +56896,7 @@ components: metadata_checksum_type: "" package_checksum_type: "" pulp_created: 2000-01-23T04:56:07.000+00:00 - repo_config: "" + repo_config: "{}" properties: pulp_href: format: uri @@ -56925,6 +56967,7 @@ components: type: boolean repo_config: description: A JSON document describing config.repo file + type: object compression_type: allOf: - $ref: '#/components/schemas/CompressionTypeEnum' @@ -57332,6 +57375,7 @@ components: type: integer repo_config: description: A JSON document describing config.repo file + type: object compression_type: allOf: - $ref: '#/components/schemas/CompressionTypeEnum' @@ -57367,7 +57411,7 @@ components: retain_repo_versions: 1 package_signing_service: https://openapi-generator.tech retain_package_versions: 0 - repo_config: "" + repo_config: "{}" metadata_signing_service: https://openapi-generator.tech properties: pulp_href: @@ -57496,6 +57540,7 @@ components: type: boolean repo_config: description: A JSON document describing config.repo file + type: object compression_type: allOf: - $ref: '#/components/schemas/CompressionTypeEnum' @@ -57828,6 +57873,7 @@ components: module: description: Collection modular NSVCA. nullable: true + type: object required: - module - name @@ -57836,7 +57882,7 @@ components: rpm.UpdateCollectionResponse: description: A Serializer for UpdateCollection. example: - module: "" + module: "{}" name: name packages: - "{}" @@ -57854,6 +57900,7 @@ components: module: description: Collection modular NSVCA. nullable: true + type: object packages: description: List of packages items: @@ -57897,13 +57944,13 @@ components: severity: severity pulp_href: https://openapi-generator.tech pkglist: - - module: "" + - module: "{}" name: name packages: - "{}" - "{}" shortname: shortname - - module: "" + - module: "{}" name: name packages: - "{}" diff --git a/release/api_content.go b/release/api_content.go index ba143e5..d73e5d0 100644 --- a/release/api_content.go +++ b/release/api_content.go @@ -88,13 +88,13 @@ func (r ContentAPIContentListRequest) PulpIdIn(pulpIdIn []string) ContentAPICont return r } -// Pulp type* `core.publishedmetadata` - core.publishedmetadata* `core.openpgp_publickey` - core.openpgp_publickey* `core.openpgp_publicsubkey` - core.openpgp_publicsubkey* `core.openpgp_userid` - core.openpgp_userid* `core.openpgp_userattribute` - core.openpgp_userattribute* `core.openpgp_signature` - core.openpgp_signature* `rpm.advisory` - rpm.advisory* `rpm.packagegroup` - rpm.packagegroup* `rpm.packagecategory` - rpm.packagecategory* `rpm.packageenvironment` - rpm.packageenvironment* `rpm.packagelangpacks` - rpm.packagelangpacks* `rpm.repo_metadata_file` - rpm.repo_metadata_file* `rpm.distribution_tree` - rpm.distribution_tree* `rpm.package` - rpm.package* `rpm.modulemd` - rpm.modulemd* `rpm.modulemd_defaults` - rpm.modulemd_defaults* `rpm.modulemd_obsolete` - rpm.modulemd_obsolete* `file.file` - file.file* `ostree.object` - ostree.object* `ostree.commit` - ostree.commit* `ostree.refs` - ostree.refs* `ostree.content` - ostree.content* `ostree.config` - ostree.config* `ostree.summary` - ostree.summary* `python.python` - python.python* `gem.gem` - gem.gem +// Pulp type* `core.publishedmetadata` - core.publishedmetadata* `core.openpgp_publickey` - core.openpgp_publickey* `core.openpgp_publicsubkey` - core.openpgp_publicsubkey* `core.openpgp_userid` - core.openpgp_userid* `core.openpgp_userattribute` - core.openpgp_userattribute* `core.openpgp_signature` - core.openpgp_signature* `file.file` - file.file* `rpm.advisory` - rpm.advisory* `rpm.packagegroup` - rpm.packagegroup* `rpm.packagecategory` - rpm.packagecategory* `rpm.packageenvironment` - rpm.packageenvironment* `rpm.packagelangpacks` - rpm.packagelangpacks* `rpm.repo_metadata_file` - rpm.repo_metadata_file* `rpm.distribution_tree` - rpm.distribution_tree* `rpm.package` - rpm.package* `rpm.modulemd` - rpm.modulemd* `rpm.modulemd_defaults` - rpm.modulemd_defaults* `rpm.modulemd_obsolete` - rpm.modulemd_obsolete* `ostree.object` - ostree.object* `ostree.commit` - ostree.commit* `ostree.refs` - ostree.refs* `ostree.content` - ostree.content* `ostree.config` - ostree.config* `ostree.summary` - ostree.summary* `python.python` - python.python* `gem.gem` - gem.gem func (r ContentAPIContentListRequest) PulpType(pulpType string) ContentAPIContentListRequest { r.pulpType = &pulpType return r } -// Multiple values may be separated by commas.* `core.publishedmetadata` - core.publishedmetadata* `core.openpgp_publickey` - core.openpgp_publickey* `core.openpgp_publicsubkey` - core.openpgp_publicsubkey* `core.openpgp_userid` - core.openpgp_userid* `core.openpgp_userattribute` - core.openpgp_userattribute* `core.openpgp_signature` - core.openpgp_signature* `rpm.advisory` - rpm.advisory* `rpm.packagegroup` - rpm.packagegroup* `rpm.packagecategory` - rpm.packagecategory* `rpm.packageenvironment` - rpm.packageenvironment* `rpm.packagelangpacks` - rpm.packagelangpacks* `rpm.repo_metadata_file` - rpm.repo_metadata_file* `rpm.distribution_tree` - rpm.distribution_tree* `rpm.package` - rpm.package* `rpm.modulemd` - rpm.modulemd* `rpm.modulemd_defaults` - rpm.modulemd_defaults* `rpm.modulemd_obsolete` - rpm.modulemd_obsolete* `file.file` - file.file* `ostree.object` - ostree.object* `ostree.commit` - ostree.commit* `ostree.refs` - ostree.refs* `ostree.content` - ostree.content* `ostree.config` - ostree.config* `ostree.summary` - ostree.summary* `python.python` - python.python* `gem.gem` - gem.gem +// Multiple values may be separated by commas.* `core.publishedmetadata` - core.publishedmetadata* `core.openpgp_publickey` - core.openpgp_publickey* `core.openpgp_publicsubkey` - core.openpgp_publicsubkey* `core.openpgp_userid` - core.openpgp_userid* `core.openpgp_userattribute` - core.openpgp_userattribute* `core.openpgp_signature` - core.openpgp_signature* `file.file` - file.file* `rpm.advisory` - rpm.advisory* `rpm.packagegroup` - rpm.packagegroup* `rpm.packagecategory` - rpm.packagecategory* `rpm.packageenvironment` - rpm.packageenvironment* `rpm.packagelangpacks` - rpm.packagelangpacks* `rpm.repo_metadata_file` - rpm.repo_metadata_file* `rpm.distribution_tree` - rpm.distribution_tree* `rpm.package` - rpm.package* `rpm.modulemd` - rpm.modulemd* `rpm.modulemd_defaults` - rpm.modulemd_defaults* `rpm.modulemd_obsolete` - rpm.modulemd_obsolete* `ostree.object` - ostree.object* `ostree.commit` - ostree.commit* `ostree.refs` - ostree.refs* `ostree.content` - ostree.content* `ostree.config` - ostree.config* `ostree.summary` - ostree.summary* `python.python` - python.python* `gem.gem` - gem.gem func (r ContentAPIContentListRequest) PulpTypeIn(pulpTypeIn []string) ContentAPIContentListRequest { r.pulpTypeIn = &pulpTypeIn return r diff --git a/release/api_content_packages.go b/release/api_content_packages.go index 39b3a50..6390458 100644 --- a/release/api_content_packages.go +++ b/release/api_content_packages.go @@ -50,14 +50,14 @@ type ContentPackagesAPIContentPythonPackagesCreateRequest struct { license *string requiresPython *string projectUrl *string - projectUrls *interface{} + projectUrls *map[string]interface{} platform *string supportedPlatform *string - requiresDist *interface{} - providesDist *interface{} - obsoletesDist *interface{} - requiresExternal *interface{} - classifiers *interface{} + requiresDist *map[string]interface{} + providesDist *map[string]interface{} + obsoletesDist *map[string]interface{} + requiresExternal *map[string]interface{} + classifiers *map[string]interface{} } // Path where the artifact is located relative to distributions base_path @@ -181,7 +181,7 @@ func (r ContentPackagesAPIContentPythonPackagesCreateRequest) ProjectUrl(project } // A dictionary of labels and URLs for the project. -func (r ContentPackagesAPIContentPythonPackagesCreateRequest) ProjectUrls(projectUrls interface{}) ContentPackagesAPIContentPythonPackagesCreateRequest { +func (r ContentPackagesAPIContentPythonPackagesCreateRequest) ProjectUrls(projectUrls map[string]interface{}) ContentPackagesAPIContentPythonPackagesCreateRequest { r.projectUrls = &projectUrls return r } @@ -199,31 +199,31 @@ func (r ContentPackagesAPIContentPythonPackagesCreateRequest) SupportedPlatform( } // A JSON list containing names of some other distutils project required by this distribution. -func (r ContentPackagesAPIContentPythonPackagesCreateRequest) RequiresDist(requiresDist interface{}) ContentPackagesAPIContentPythonPackagesCreateRequest { +func (r ContentPackagesAPIContentPythonPackagesCreateRequest) RequiresDist(requiresDist map[string]interface{}) ContentPackagesAPIContentPythonPackagesCreateRequest { r.requiresDist = &requiresDist return r } // A JSON list containing names of a Distutils project which is contained within this distribution. -func (r ContentPackagesAPIContentPythonPackagesCreateRequest) ProvidesDist(providesDist interface{}) ContentPackagesAPIContentPythonPackagesCreateRequest { +func (r ContentPackagesAPIContentPythonPackagesCreateRequest) ProvidesDist(providesDist map[string]interface{}) ContentPackagesAPIContentPythonPackagesCreateRequest { r.providesDist = &providesDist return r } // A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. -func (r ContentPackagesAPIContentPythonPackagesCreateRequest) ObsoletesDist(obsoletesDist interface{}) ContentPackagesAPIContentPythonPackagesCreateRequest { +func (r ContentPackagesAPIContentPythonPackagesCreateRequest) ObsoletesDist(obsoletesDist map[string]interface{}) ContentPackagesAPIContentPythonPackagesCreateRequest { r.obsoletesDist = &obsoletesDist return r } // A JSON list containing some dependency in the system that the distribution is to be used. -func (r ContentPackagesAPIContentPythonPackagesCreateRequest) RequiresExternal(requiresExternal interface{}) ContentPackagesAPIContentPythonPackagesCreateRequest { +func (r ContentPackagesAPIContentPythonPackagesCreateRequest) RequiresExternal(requiresExternal map[string]interface{}) ContentPackagesAPIContentPythonPackagesCreateRequest { r.requiresExternal = &requiresExternal return r } // A JSON list containing classification values for a Python package. -func (r ContentPackagesAPIContentPythonPackagesCreateRequest) Classifiers(classifiers interface{}) ContentPackagesAPIContentPythonPackagesCreateRequest { +func (r ContentPackagesAPIContentPythonPackagesCreateRequest) Classifiers(classifiers map[string]interface{}) ContentPackagesAPIContentPythonPackagesCreateRequest { r.classifiers = &classifiers return r } diff --git a/release/api_distributions.go b/release/api_distributions.go index 99e64e4..ce635e5 100644 --- a/release/api_distributions.go +++ b/release/api_distributions.go @@ -179,13 +179,13 @@ func (r DistributionsAPIDistributionsListRequest) PulpLabelSelect(pulpLabelSelec return r } -// Pulp type* `core.artifact` - core.artifact* `core.openpgp` - core.openpgp* `rpm.rpm` - rpm.rpm* `file.file` - file.file* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem +// Pulp type* `core.artifact` - core.artifact* `core.openpgp` - core.openpgp* `file.file` - file.file* `rpm.rpm` - rpm.rpm* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem func (r DistributionsAPIDistributionsListRequest) PulpType(pulpType string) DistributionsAPIDistributionsListRequest { r.pulpType = &pulpType return r } -// Multiple values may be separated by commas.* `core.artifact` - core.artifact* `core.openpgp` - core.openpgp* `rpm.rpm` - rpm.rpm* `file.file` - file.file* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem +// Multiple values may be separated by commas.* `core.artifact` - core.artifact* `core.openpgp` - core.openpgp* `file.file` - file.file* `rpm.rpm` - rpm.rpm* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem func (r DistributionsAPIDistributionsListRequest) PulpTypeIn(pulpTypeIn []string) DistributionsAPIDistributionsListRequest { r.pulpTypeIn = &pulpTypeIn return r diff --git a/release/api_publications.go b/release/api_publications.go index dbf7437..bead6d5 100644 --- a/release/api_publications.go +++ b/release/api_publications.go @@ -137,13 +137,13 @@ func (r PublicationsAPIPublicationsListRequest) PulpIdIn(pulpIdIn []string) Publ return r } -// Pulp type* `rpm.rpm` - rpm.rpm* `file.file` - file.file* `python.python` - python.python* `gem.gem` - gem.gem +// Pulp type* `file.file` - file.file* `rpm.rpm` - rpm.rpm* `python.python` - python.python* `gem.gem` - gem.gem func (r PublicationsAPIPublicationsListRequest) PulpType(pulpType string) PublicationsAPIPublicationsListRequest { r.pulpType = &pulpType return r } -// Multiple values may be separated by commas.* `rpm.rpm` - rpm.rpm* `file.file` - file.file* `python.python` - python.python* `gem.gem` - gem.gem +// Multiple values may be separated by commas.* `file.file` - file.file* `rpm.rpm` - rpm.rpm* `python.python` - python.python* `gem.gem` - gem.gem func (r PublicationsAPIPublicationsListRequest) PulpTypeIn(pulpTypeIn []string) PublicationsAPIPublicationsListRequest { r.pulpTypeIn = &pulpTypeIn return r diff --git a/release/api_remotes.go b/release/api_remotes.go index 89fbe25..610f5c4 100644 --- a/release/api_remotes.go +++ b/release/api_remotes.go @@ -191,13 +191,13 @@ func (r RemotesAPIRemotesListRequest) PulpLastUpdatedRange(pulpLastUpdatedRange return r } -// Pulp type* `rpm.rpm` - rpm.rpm* `rpm.uln` - rpm.uln* `file.file` - file.file* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem +// Pulp type* `file.file` - file.file* `rpm.rpm` - rpm.rpm* `rpm.uln` - rpm.uln* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem func (r RemotesAPIRemotesListRequest) PulpType(pulpType string) RemotesAPIRemotesListRequest { r.pulpType = &pulpType return r } -// Multiple values may be separated by commas.* `rpm.rpm` - rpm.rpm* `rpm.uln` - rpm.uln* `file.file` - file.file* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem +// Multiple values may be separated by commas.* `file.file` - file.file* `rpm.rpm` - rpm.rpm* `rpm.uln` - rpm.uln* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem func (r RemotesAPIRemotesListRequest) PulpTypeIn(pulpTypeIn []string) RemotesAPIRemotesListRequest { r.pulpTypeIn = &pulpTypeIn return r diff --git a/release/api_repositories.go b/release/api_repositories.go index 79021c8..f991972 100644 --- a/release/api_repositories.go +++ b/release/api_repositories.go @@ -165,13 +165,13 @@ func (r RepositoriesAPIRepositoriesListRequest) PulpLabelSelect(pulpLabelSelect return r } -// Pulp type* `core.openpgp` - core.openpgp* `rpm.rpm` - rpm.rpm* `file.file` - file.file* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem +// Pulp type* `core.openpgp` - core.openpgp* `file.file` - file.file* `rpm.rpm` - rpm.rpm* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem func (r RepositoriesAPIRepositoriesListRequest) PulpType(pulpType string) RepositoriesAPIRepositoriesListRequest { r.pulpType = &pulpType return r } -// Multiple values may be separated by commas.* `core.openpgp` - core.openpgp* `rpm.rpm` - rpm.rpm* `file.file` - file.file* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem +// Multiple values may be separated by commas.* `core.openpgp` - core.openpgp* `file.file` - file.file* `rpm.rpm` - rpm.rpm* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem func (r RepositoriesAPIRepositoriesListRequest) PulpTypeIn(pulpTypeIn []string) RepositoriesAPIRepositoriesListRequest { r.pulpTypeIn = &pulpTypeIn return r diff --git a/release/configuration.go b/release/configuration.go index 25e1464..6dff3d6 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/386d86254354e29d3b864523aed4786944b943f67968b5e2da9ab863deab9a54/go", + UserAgent: "OpenAPI-Generator/386d86254354e29d3b864523aed4786962d4d2167968b5e2da9ab863deab9a54/go", Debug: false, Servers: ServerConfigurations{ { diff --git a/release/docs/ArtifactDistributionResponse.md b/release/docs/ArtifactDistributionResponse.md index 0f7ca36..fa51978 100644 --- a/release/docs/ArtifactDistributionResponse.md +++ b/release/docs/ArtifactDistributionResponse.md @@ -4,23 +4,23 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**PulpLabels** | Pointer to **map[string]string** | | [optional] -**PulpCreated** | Pointer to **time.Time** | Timestamp of creation. | [optional] [readonly] -**Hidden** | Pointer to **bool** | Whether this distribution should be shown in the content app. | [optional] [default to false] +**PulpHref** | Pointer to **string** | | [optional] [readonly] +**Prn** | Pointer to **string** | The Pulp Resource Name (PRN). | [optional] [readonly] **NoContentChangeSince** | Pointer to **string** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional] [readonly] -**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\") | -**PulpLastUpdated** | Pointer to **time.Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly] +**Name** | **string** | A unique name. Ex, `rawhide` and `stable`. | **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] +**PulpLastUpdated** | Pointer to **time.Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly] +**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\") | +**PulpLabels** | Pointer to **map[string]string** | | [optional] **BaseUrl** | Pointer to **string** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly] -**Name** | **string** | A unique name. Ex, `rawhide` and `stable`. | -**Prn** | Pointer to **string** | The Pulp Resource Name (PRN). | [optional] [readonly] -**PulpHref** | Pointer to **string** | | [optional] [readonly] +**PulpCreated** | Pointer to **time.Time** | Timestamp of creation. | [optional] [readonly] ## Methods ### NewArtifactDistributionResponse -`func NewArtifactDistributionResponse(basePath string, name string, ) *ArtifactDistributionResponse` +`func NewArtifactDistributionResponse(name string, basePath string, ) *ArtifactDistributionResponse` NewArtifactDistributionResponse instantiates a new ArtifactDistributionResponse object This constructor will assign default values to properties that have it defined, @@ -35,80 +35,55 @@ 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 -### GetPulpLabels - -`func (o *ArtifactDistributionResponse) GetPulpLabels() map[string]string` - -GetPulpLabels returns the PulpLabels field if non-nil, zero value otherwise. - -### GetPulpLabelsOk - -`func (o *ArtifactDistributionResponse) 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 *ArtifactDistributionResponse) SetPulpLabels(v map[string]string)` - -SetPulpLabels sets PulpLabels field to given value. - -### HasPulpLabels - -`func (o *ArtifactDistributionResponse) HasPulpLabels() bool` - -HasPulpLabels returns a boolean if a field has been set. - -### GetPulpCreated +### GetPulpHref -`func (o *ArtifactDistributionResponse) GetPulpCreated() time.Time` +`func (o *ArtifactDistributionResponse) GetPulpHref() string` -GetPulpCreated returns the PulpCreated field if non-nil, zero value otherwise. +GetPulpHref returns the PulpHref field if non-nil, zero value otherwise. -### GetPulpCreatedOk +### GetPulpHrefOk -`func (o *ArtifactDistributionResponse) GetPulpCreatedOk() (*time.Time, bool)` +`func (o *ArtifactDistributionResponse) GetPulpHrefOk() (*string, bool)` -GetPulpCreatedOk returns a tuple with the PulpCreated field if it's non-nil, zero value otherwise +GetPulpHrefOk returns a tuple with the PulpHref field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetPulpCreated +### SetPulpHref -`func (o *ArtifactDistributionResponse) SetPulpCreated(v time.Time)` +`func (o *ArtifactDistributionResponse) SetPulpHref(v string)` -SetPulpCreated sets PulpCreated field to given value. +SetPulpHref sets PulpHref field to given value. -### HasPulpCreated +### HasPulpHref -`func (o *ArtifactDistributionResponse) HasPulpCreated() bool` +`func (o *ArtifactDistributionResponse) HasPulpHref() bool` -HasPulpCreated returns a boolean if a field has been set. +HasPulpHref returns a boolean if a field has been set. -### GetHidden +### GetPrn -`func (o *ArtifactDistributionResponse) GetHidden() bool` +`func (o *ArtifactDistributionResponse) GetPrn() string` -GetHidden returns the Hidden field if non-nil, zero value otherwise. +GetPrn returns the Prn field if non-nil, zero value otherwise. -### GetHiddenOk +### GetPrnOk -`func (o *ArtifactDistributionResponse) GetHiddenOk() (*bool, bool)` +`func (o *ArtifactDistributionResponse) GetPrnOk() (*string, bool)` -GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise +GetPrnOk returns a tuple with the Prn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetHidden +### SetPrn -`func (o *ArtifactDistributionResponse) SetHidden(v bool)` +`func (o *ArtifactDistributionResponse) SetPrn(v string)` -SetHidden sets Hidden field to given value. +SetPrn sets Prn field to given value. -### HasHidden +### HasPrn -`func (o *ArtifactDistributionResponse) HasHidden() bool` +`func (o *ArtifactDistributionResponse) HasPrn() bool` -HasHidden returns a boolean if a field has been set. +HasPrn returns a boolean if a field has been set. ### GetNoContentChangeSince @@ -135,50 +110,25 @@ SetNoContentChangeSince sets NoContentChangeSince field to given value. HasNoContentChangeSince returns a boolean if a field has been set. -### GetBasePath - -`func (o *ArtifactDistributionResponse) GetBasePath() string` - -GetBasePath returns the BasePath field if non-nil, zero value otherwise. - -### GetBasePathOk - -`func (o *ArtifactDistributionResponse) 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 *ArtifactDistributionResponse) SetBasePath(v string)` - -SetBasePath sets BasePath field to given value. - - -### GetPulpLastUpdated +### GetName -`func (o *ArtifactDistributionResponse) GetPulpLastUpdated() time.Time` +`func (o *ArtifactDistributionResponse) GetName() string` -GetPulpLastUpdated returns the PulpLastUpdated field if non-nil, zero value otherwise. +GetName returns the Name field if non-nil, zero value otherwise. -### GetPulpLastUpdatedOk +### GetNameOk -`func (o *ArtifactDistributionResponse) GetPulpLastUpdatedOk() (*time.Time, bool)` +`func (o *ArtifactDistributionResponse) GetNameOk() (*string, bool)` -GetPulpLastUpdatedOk returns a tuple with the PulpLastUpdated 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. -### SetPulpLastUpdated - -`func (o *ArtifactDistributionResponse) SetPulpLastUpdated(v time.Time)` - -SetPulpLastUpdated sets PulpLastUpdated field to given value. +### SetName -### HasPulpLastUpdated +`func (o *ArtifactDistributionResponse) SetName(v string)` -`func (o *ArtifactDistributionResponse) HasPulpLastUpdated() bool` +SetName sets Name field to given value. -HasPulpLastUpdated returns a boolean if a field has been set. ### GetContentGuard @@ -215,100 +165,150 @@ HasContentGuard returns a boolean if a field has been set. `func (o *ArtifactDistributionResponse) UnsetContentGuard()` UnsetContentGuard ensures that no value is present for ContentGuard, not even an explicit nil -### GetBaseUrl +### GetHidden -`func (o *ArtifactDistributionResponse) GetBaseUrl() string` +`func (o *ArtifactDistributionResponse) GetHidden() bool` -GetBaseUrl returns the BaseUrl field if non-nil, zero value otherwise. +GetHidden returns the Hidden field if non-nil, zero value otherwise. -### GetBaseUrlOk +### GetHiddenOk -`func (o *ArtifactDistributionResponse) GetBaseUrlOk() (*string, bool)` +`func (o *ArtifactDistributionResponse) GetHiddenOk() (*bool, bool)` -GetBaseUrlOk returns a tuple with the BaseUrl field if it's non-nil, zero value otherwise +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. -### SetBaseUrl +### SetHidden -`func (o *ArtifactDistributionResponse) SetBaseUrl(v string)` +`func (o *ArtifactDistributionResponse) SetHidden(v bool)` -SetBaseUrl sets BaseUrl field to given value. +SetHidden sets Hidden field to given value. -### HasBaseUrl +### HasHidden -`func (o *ArtifactDistributionResponse) HasBaseUrl() bool` +`func (o *ArtifactDistributionResponse) HasHidden() bool` -HasBaseUrl returns a boolean if a field has been set. +HasHidden returns a boolean if a field has been set. -### GetName +### GetPulpLastUpdated -`func (o *ArtifactDistributionResponse) GetName() string` +`func (o *ArtifactDistributionResponse) GetPulpLastUpdated() time.Time` -GetName returns the Name field if non-nil, zero value otherwise. +GetPulpLastUpdated returns the PulpLastUpdated field if non-nil, zero value otherwise. -### GetNameOk +### GetPulpLastUpdatedOk -`func (o *ArtifactDistributionResponse) GetNameOk() (*string, bool)` +`func (o *ArtifactDistributionResponse) GetPulpLastUpdatedOk() (*time.Time, bool)` -GetNameOk returns a tuple with the Name 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. -### SetName +### SetPulpLastUpdated -`func (o *ArtifactDistributionResponse) SetName(v string)` +`func (o *ArtifactDistributionResponse) SetPulpLastUpdated(v time.Time)` -SetName sets Name field to given value. +SetPulpLastUpdated sets PulpLastUpdated field to given value. +### HasPulpLastUpdated -### GetPrn +`func (o *ArtifactDistributionResponse) HasPulpLastUpdated() bool` -`func (o *ArtifactDistributionResponse) GetPrn() string` +HasPulpLastUpdated returns a boolean if a field has been set. -GetPrn returns the Prn field if non-nil, zero value otherwise. +### GetBasePath -### GetPrnOk +`func (o *ArtifactDistributionResponse) GetBasePath() string` -`func (o *ArtifactDistributionResponse) GetPrnOk() (*string, bool)` +GetBasePath returns the BasePath field if non-nil, zero value otherwise. -GetPrnOk returns a tuple with the Prn field if it's non-nil, zero value otherwise +### GetBasePathOk + +`func (o *ArtifactDistributionResponse) 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. -### SetPrn +### SetBasePath -`func (o *ArtifactDistributionResponse) SetPrn(v string)` +`func (o *ArtifactDistributionResponse) SetBasePath(v string)` -SetPrn sets Prn field to given value. +SetBasePath sets BasePath field to given value. -### HasPrn -`func (o *ArtifactDistributionResponse) HasPrn() bool` +### GetPulpLabels -HasPrn returns a boolean if a field has been set. +`func (o *ArtifactDistributionResponse) GetPulpLabels() map[string]string` -### GetPulpHref +GetPulpLabels returns the PulpLabels field if non-nil, zero value otherwise. -`func (o *ArtifactDistributionResponse) GetPulpHref() string` +### GetPulpLabelsOk -GetPulpHref returns the PulpHref field if non-nil, zero value otherwise. +`func (o *ArtifactDistributionResponse) GetPulpLabelsOk() (*map[string]string, bool)` -### GetPulpHrefOk +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. -`func (o *ArtifactDistributionResponse) GetPulpHrefOk() (*string, bool)` +### SetPulpLabels -GetPulpHrefOk returns a tuple with the PulpHref field if it's non-nil, zero value otherwise +`func (o *ArtifactDistributionResponse) SetPulpLabels(v map[string]string)` + +SetPulpLabels sets PulpLabels field to given value. + +### HasPulpLabels + +`func (o *ArtifactDistributionResponse) HasPulpLabels() bool` + +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. -### SetPulpHref +### SetBaseUrl -`func (o *ArtifactDistributionResponse) SetPulpHref(v string)` +`func (o *ArtifactDistributionResponse) SetBaseUrl(v string)` -SetPulpHref sets PulpHref field to given value. +SetBaseUrl sets BaseUrl field to given value. -### HasPulpHref +### HasBaseUrl -`func (o *ArtifactDistributionResponse) HasPulpHref() bool` +`func (o *ArtifactDistributionResponse) HasBaseUrl() bool` -HasPulpHref returns a boolean if a field has been set. +HasBaseUrl 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. [[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/ContentAPI.md b/release/docs/ContentAPI.md index e900bfc..bf89c93 100644 --- a/release/docs/ContentAPI.md +++ b/release/docs/ContentAPI.md @@ -37,8 +37,8 @@ func main() { prnIn := []string{"Inner_example"} // []string | Multiple values may be separated by commas. (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) - pulpType := "pulpType_example" // string | Pulp type* `core.publishedmetadata` - core.publishedmetadata* `core.openpgp_publickey` - core.openpgp_publickey* `core.openpgp_publicsubkey` - core.openpgp_publicsubkey* `core.openpgp_userid` - core.openpgp_userid* `core.openpgp_userattribute` - core.openpgp_userattribute* `core.openpgp_signature` - core.openpgp_signature* `rpm.advisory` - rpm.advisory* `rpm.packagegroup` - rpm.packagegroup* `rpm.packagecategory` - rpm.packagecategory* `rpm.packageenvironment` - rpm.packageenvironment* `rpm.packagelangpacks` - rpm.packagelangpacks* `rpm.repo_metadata_file` - rpm.repo_metadata_file* `rpm.distribution_tree` - rpm.distribution_tree* `rpm.package` - rpm.package* `rpm.modulemd` - rpm.modulemd* `rpm.modulemd_defaults` - rpm.modulemd_defaults* `rpm.modulemd_obsolete` - rpm.modulemd_obsolete* `file.file` - file.file* `ostree.object` - ostree.object* `ostree.commit` - ostree.commit* `ostree.refs` - ostree.refs* `ostree.content` - ostree.content* `ostree.config` - ostree.config* `ostree.summary` - ostree.summary* `python.python` - python.python* `gem.gem` - gem.gem (optional) - pulpTypeIn := []string{"PulpTypeIn_example"} // []string | Multiple values may be separated by commas.* `core.publishedmetadata` - core.publishedmetadata* `core.openpgp_publickey` - core.openpgp_publickey* `core.openpgp_publicsubkey` - core.openpgp_publicsubkey* `core.openpgp_userid` - core.openpgp_userid* `core.openpgp_userattribute` - core.openpgp_userattribute* `core.openpgp_signature` - core.openpgp_signature* `rpm.advisory` - rpm.advisory* `rpm.packagegroup` - rpm.packagegroup* `rpm.packagecategory` - rpm.packagecategory* `rpm.packageenvironment` - rpm.packageenvironment* `rpm.packagelangpacks` - rpm.packagelangpacks* `rpm.repo_metadata_file` - rpm.repo_metadata_file* `rpm.distribution_tree` - rpm.distribution_tree* `rpm.package` - rpm.package* `rpm.modulemd` - rpm.modulemd* `rpm.modulemd_defaults` - rpm.modulemd_defaults* `rpm.modulemd_obsolete` - rpm.modulemd_obsolete* `file.file` - file.file* `ostree.object` - ostree.object* `ostree.commit` - ostree.commit* `ostree.refs` - ostree.refs* `ostree.content` - ostree.content* `ostree.config` - ostree.config* `ostree.summary` - ostree.summary* `python.python` - python.python* `gem.gem` - gem.gem (optional) + pulpType := "pulpType_example" // string | Pulp type* `core.publishedmetadata` - core.publishedmetadata* `core.openpgp_publickey` - core.openpgp_publickey* `core.openpgp_publicsubkey` - core.openpgp_publicsubkey* `core.openpgp_userid` - core.openpgp_userid* `core.openpgp_userattribute` - core.openpgp_userattribute* `core.openpgp_signature` - core.openpgp_signature* `file.file` - file.file* `rpm.advisory` - rpm.advisory* `rpm.packagegroup` - rpm.packagegroup* `rpm.packagecategory` - rpm.packagecategory* `rpm.packageenvironment` - rpm.packageenvironment* `rpm.packagelangpacks` - rpm.packagelangpacks* `rpm.repo_metadata_file` - rpm.repo_metadata_file* `rpm.distribution_tree` - rpm.distribution_tree* `rpm.package` - rpm.package* `rpm.modulemd` - rpm.modulemd* `rpm.modulemd_defaults` - rpm.modulemd_defaults* `rpm.modulemd_obsolete` - rpm.modulemd_obsolete* `ostree.object` - ostree.object* `ostree.commit` - ostree.commit* `ostree.refs` - ostree.refs* `ostree.content` - ostree.content* `ostree.config` - ostree.config* `ostree.summary` - ostree.summary* `python.python` - python.python* `gem.gem` - gem.gem (optional) + pulpTypeIn := []string{"PulpTypeIn_example"} // []string | Multiple values may be separated by commas.* `core.publishedmetadata` - core.publishedmetadata* `core.openpgp_publickey` - core.openpgp_publickey* `core.openpgp_publicsubkey` - core.openpgp_publicsubkey* `core.openpgp_userid` - core.openpgp_userid* `core.openpgp_userattribute` - core.openpgp_userattribute* `core.openpgp_signature` - core.openpgp_signature* `file.file` - file.file* `rpm.advisory` - rpm.advisory* `rpm.packagegroup` - rpm.packagegroup* `rpm.packagecategory` - rpm.packagecategory* `rpm.packageenvironment` - rpm.packageenvironment* `rpm.packagelangpacks` - rpm.packagelangpacks* `rpm.repo_metadata_file` - rpm.repo_metadata_file* `rpm.distribution_tree` - rpm.distribution_tree* `rpm.package` - rpm.package* `rpm.modulemd` - rpm.modulemd* `rpm.modulemd_defaults` - rpm.modulemd_defaults* `rpm.modulemd_obsolete` - rpm.modulemd_obsolete* `ostree.object` - ostree.object* `ostree.commit` - ostree.commit* `ostree.refs` - ostree.refs* `ostree.content` - ostree.content* `ostree.config` - ostree.config* `ostree.summary` - ostree.summary* `python.python` - python.python* `gem.gem` - gem.gem (optional) q := "q_example" // string | Filter results by using NOT, AND and OR operations on other filters (optional) repositoryVersion := "repositoryVersion_example" // string | Repository Version referenced by HREF/PRN (optional) repositoryVersionAdded := "repositoryVersionAdded_example" // string | Repository Version referenced by HREF/PRN (optional) @@ -81,8 +81,8 @@ Name | Type | Description | Notes **prnIn** | **[]string** | Multiple values may be separated by commas. | **pulpHrefIn** | **[]string** | Multiple values may be separated by commas. | **pulpIdIn** | **[]string** | Multiple values may be separated by commas. | - **pulpType** | **string** | Pulp type* `core.publishedmetadata` - core.publishedmetadata* `core.openpgp_publickey` - core.openpgp_publickey* `core.openpgp_publicsubkey` - core.openpgp_publicsubkey* `core.openpgp_userid` - core.openpgp_userid* `core.openpgp_userattribute` - core.openpgp_userattribute* `core.openpgp_signature` - core.openpgp_signature* `rpm.advisory` - rpm.advisory* `rpm.packagegroup` - rpm.packagegroup* `rpm.packagecategory` - rpm.packagecategory* `rpm.packageenvironment` - rpm.packageenvironment* `rpm.packagelangpacks` - rpm.packagelangpacks* `rpm.repo_metadata_file` - rpm.repo_metadata_file* `rpm.distribution_tree` - rpm.distribution_tree* `rpm.package` - rpm.package* `rpm.modulemd` - rpm.modulemd* `rpm.modulemd_defaults` - rpm.modulemd_defaults* `rpm.modulemd_obsolete` - rpm.modulemd_obsolete* `file.file` - file.file* `ostree.object` - ostree.object* `ostree.commit` - ostree.commit* `ostree.refs` - ostree.refs* `ostree.content` - ostree.content* `ostree.config` - ostree.config* `ostree.summary` - ostree.summary* `python.python` - python.python* `gem.gem` - gem.gem | - **pulpTypeIn** | **[]string** | Multiple values may be separated by commas.* `core.publishedmetadata` - core.publishedmetadata* `core.openpgp_publickey` - core.openpgp_publickey* `core.openpgp_publicsubkey` - core.openpgp_publicsubkey* `core.openpgp_userid` - core.openpgp_userid* `core.openpgp_userattribute` - core.openpgp_userattribute* `core.openpgp_signature` - core.openpgp_signature* `rpm.advisory` - rpm.advisory* `rpm.packagegroup` - rpm.packagegroup* `rpm.packagecategory` - rpm.packagecategory* `rpm.packageenvironment` - rpm.packageenvironment* `rpm.packagelangpacks` - rpm.packagelangpacks* `rpm.repo_metadata_file` - rpm.repo_metadata_file* `rpm.distribution_tree` - rpm.distribution_tree* `rpm.package` - rpm.package* `rpm.modulemd` - rpm.modulemd* `rpm.modulemd_defaults` - rpm.modulemd_defaults* `rpm.modulemd_obsolete` - rpm.modulemd_obsolete* `file.file` - file.file* `ostree.object` - ostree.object* `ostree.commit` - ostree.commit* `ostree.refs` - ostree.refs* `ostree.content` - ostree.content* `ostree.config` - ostree.config* `ostree.summary` - ostree.summary* `python.python` - python.python* `gem.gem` - gem.gem | + **pulpType** | **string** | Pulp type* `core.publishedmetadata` - core.publishedmetadata* `core.openpgp_publickey` - core.openpgp_publickey* `core.openpgp_publicsubkey` - core.openpgp_publicsubkey* `core.openpgp_userid` - core.openpgp_userid* `core.openpgp_userattribute` - core.openpgp_userattribute* `core.openpgp_signature` - core.openpgp_signature* `file.file` - file.file* `rpm.advisory` - rpm.advisory* `rpm.packagegroup` - rpm.packagegroup* `rpm.packagecategory` - rpm.packagecategory* `rpm.packageenvironment` - rpm.packageenvironment* `rpm.packagelangpacks` - rpm.packagelangpacks* `rpm.repo_metadata_file` - rpm.repo_metadata_file* `rpm.distribution_tree` - rpm.distribution_tree* `rpm.package` - rpm.package* `rpm.modulemd` - rpm.modulemd* `rpm.modulemd_defaults` - rpm.modulemd_defaults* `rpm.modulemd_obsolete` - rpm.modulemd_obsolete* `ostree.object` - ostree.object* `ostree.commit` - ostree.commit* `ostree.refs` - ostree.refs* `ostree.content` - ostree.content* `ostree.config` - ostree.config* `ostree.summary` - ostree.summary* `python.python` - python.python* `gem.gem` - gem.gem | + **pulpTypeIn** | **[]string** | Multiple values may be separated by commas.* `core.publishedmetadata` - core.publishedmetadata* `core.openpgp_publickey` - core.openpgp_publickey* `core.openpgp_publicsubkey` - core.openpgp_publicsubkey* `core.openpgp_userid` - core.openpgp_userid* `core.openpgp_userattribute` - core.openpgp_userattribute* `core.openpgp_signature` - core.openpgp_signature* `file.file` - file.file* `rpm.advisory` - rpm.advisory* `rpm.packagegroup` - rpm.packagegroup* `rpm.packagecategory` - rpm.packagecategory* `rpm.packageenvironment` - rpm.packageenvironment* `rpm.packagelangpacks` - rpm.packagelangpacks* `rpm.repo_metadata_file` - rpm.repo_metadata_file* `rpm.distribution_tree` - rpm.distribution_tree* `rpm.package` - rpm.package* `rpm.modulemd` - rpm.modulemd* `rpm.modulemd_defaults` - rpm.modulemd_defaults* `rpm.modulemd_obsolete` - rpm.modulemd_obsolete* `ostree.object` - ostree.object* `ostree.commit` - ostree.commit* `ostree.refs` - ostree.refs* `ostree.content` - ostree.content* `ostree.config` - ostree.config* `ostree.summary` - ostree.summary* `python.python` - python.python* `gem.gem` - gem.gem | **q** | **string** | Filter results by using NOT, AND and OR operations on other filters | **repositoryVersion** | **string** | Repository Version referenced by HREF/PRN | **repositoryVersionAdded** | **string** | Repository Version referenced by HREF/PRN | diff --git a/release/docs/ContentModulemdDefaultsAPI.md b/release/docs/ContentModulemdDefaultsAPI.md index 38de90b..ffa5644 100644 --- a/release/docs/ContentModulemdDefaultsAPI.md +++ b/release/docs/ContentModulemdDefaultsAPI.md @@ -32,7 +32,7 @@ import ( func main() { pulpDomain := "pulpDomain_example" // string | - rpmModulemdDefaults := *openapiclient.NewRpmModulemdDefaults("Module_example", "Stream_example", interface{}(123), "Snippet_example") // RpmModulemdDefaults | + rpmModulemdDefaults := *openapiclient.NewRpmModulemdDefaults("Module_example", "Stream_example", map[string]interface{}(123), "Snippet_example") // RpmModulemdDefaults | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) diff --git a/release/docs/ContentModulemdsAPI.md b/release/docs/ContentModulemdsAPI.md index bea8bd6..202800d 100644 --- a/release/docs/ContentModulemdsAPI.md +++ b/release/docs/ContentModulemdsAPI.md @@ -32,7 +32,7 @@ import ( func main() { pulpDomain := "pulpDomain_example" // string | - rpmModulemd := *openapiclient.NewRpmModulemd("Name_example", "Stream_example", "Version_example", "Context_example", "Arch_example", interface{}(123), interface{}(123), "Snippet_example", interface{}(123), "Description_example") // RpmModulemd | + rpmModulemd := *openapiclient.NewRpmModulemd("Name_example", "Stream_example", "Version_example", "Context_example", "Arch_example", map[string]interface{}(123), map[string]interface{}(123), "Snippet_example", map[string]interface{}(123), "Description_example") // RpmModulemd | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) diff --git a/release/docs/ContentPackagesAPI.md b/release/docs/ContentPackagesAPI.md index 8fd8441..c2dffe4 100644 --- a/release/docs/ContentPackagesAPI.md +++ b/release/docs/ContentPackagesAPI.md @@ -55,14 +55,14 @@ func main() { license := "license_example" // string | Text indicating the license covering the distribution (optional) requiresPython := "requiresPython_example" // string | The Python version(s) that the distribution is guaranteed to be compatible with. (optional) projectUrl := "projectUrl_example" // string | A browsable URL for the project and a label for it, separated by a comma. (optional) - projectUrls := TODO // interface{} | A dictionary of labels and URLs for the project. (optional) + projectUrls := map[string]interface{}{ ... } // map[string]interface{} | A dictionary of labels and URLs for the project. (optional) platform := "platform_example" // string | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. (optional) supportedPlatform := "supportedPlatform_example" // string | Field to specify the OS and CPU for which the binary package was compiled. (optional) - requiresDist := TODO // interface{} | A JSON list containing names of some other distutils project required by this distribution. (optional) - providesDist := TODO // interface{} | A JSON list containing names of a Distutils project which is contained within this distribution. (optional) - obsoletesDist := TODO // interface{} | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. (optional) - requiresExternal := TODO // interface{} | A JSON list containing some dependency in the system that the distribution is to be used. (optional) - classifiers := TODO // interface{} | A JSON list containing classification values for a Python package. (optional) + requiresDist := map[string]interface{}{ ... } // map[string]interface{} | A JSON list containing names of some other distutils project required by this distribution. (optional) + providesDist := map[string]interface{}{ ... } // map[string]interface{} | A JSON list containing names of a Distutils project which is contained within this distribution. (optional) + obsoletesDist := map[string]interface{}{ ... } // map[string]interface{} | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. (optional) + requiresExternal := map[string]interface{}{ ... } // map[string]interface{} | A JSON list containing some dependency in the system that the distribution is to be used. (optional) + classifiers := map[string]interface{}{ ... } // map[string]interface{} | A JSON list containing classification values for a Python package. (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -112,14 +112,14 @@ Name | Type | Description | Notes **license** | **string** | Text indicating the license covering the distribution | **requiresPython** | **string** | The Python version(s) that the distribution is guaranteed to be compatible with. | **projectUrl** | **string** | A browsable URL for the project and a label for it, separated by a comma. | - **projectUrls** | [**interface{}**](interface{}.md) | A dictionary of labels and URLs for the project. | + **projectUrls** | [**map[string]interface{}**](map[string]interface{}.md) | A dictionary of labels and URLs for the project. | **platform** | **string** | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. | **supportedPlatform** | **string** | Field to specify the OS and CPU for which the binary package was compiled. | - **requiresDist** | [**interface{}**](interface{}.md) | A JSON list containing names of some other distutils project required by this distribution. | - **providesDist** | [**interface{}**](interface{}.md) | A JSON list containing names of a Distutils project which is contained within this distribution. | - **obsoletesDist** | [**interface{}**](interface{}.md) | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. | - **requiresExternal** | [**interface{}**](interface{}.md) | A JSON list containing some dependency in the system that the distribution is to be used. | - **classifiers** | [**interface{}**](interface{}.md) | A JSON list containing classification values for a Python package. | + **requiresDist** | [**map[string]interface{}**](map[string]interface{}.md) | A JSON list containing names of some other distutils project required by this distribution. | + **providesDist** | [**map[string]interface{}**](map[string]interface{}.md) | A JSON list containing names of a Distutils project which is contained within this distribution. | + **obsoletesDist** | [**map[string]interface{}**](map[string]interface{}.md) | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. | + **requiresExternal** | [**map[string]interface{}**](map[string]interface{}.md) | A JSON list containing some dependency in the system that the distribution is to be used. | + **classifiers** | [**map[string]interface{}**](map[string]interface{}.md) | A JSON list containing classification values for a Python package. | ### Return type diff --git a/release/docs/Copy.md b/release/docs/Copy.md index 25bb5ab..daeb56f 100644 --- a/release/docs/Copy.md +++ b/release/docs/Copy.md @@ -4,14 +4,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Config** | **interface{}** | A JSON document describing sources, destinations, and content to be copied | +**Config** | **map[string]interface{}** | A JSON document describing sources, destinations, and content to be copied | **DependencySolving** | Pointer to **bool** | Also copy dependencies of the content being copied. | [optional] [default to true] ## Methods ### NewCopy -`func NewCopy(config interface{}, ) *Copy` +`func NewCopy(config map[string]interface{}, ) *Copy` NewCopy instantiates a new Copy object This constructor will assign default values to properties that have it defined, @@ -28,34 +28,24 @@ but it doesn't guarantee that properties required by API are set ### GetConfig -`func (o *Copy) GetConfig() interface{}` +`func (o *Copy) GetConfig() map[string]interface{}` GetConfig returns the Config field if non-nil, zero value otherwise. ### GetConfigOk -`func (o *Copy) GetConfigOk() (*interface{}, bool)` +`func (o *Copy) GetConfigOk() (*map[string]interface{}, bool)` GetConfigOk returns a tuple with the Config field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetConfig -`func (o *Copy) SetConfig(v interface{})` +`func (o *Copy) SetConfig(v map[string]interface{})` SetConfig sets Config field to given value. -### SetConfigNil - -`func (o *Copy) SetConfigNil(b bool)` - - SetConfigNil sets the value for Config to be an explicit nil - -### UnsetConfig -`func (o *Copy) UnsetConfig()` - -UnsetConfig ensures that no value is present for Config, not even an explicit nil ### GetDependencySolving `func (o *Copy) GetDependencySolving() bool` diff --git a/release/docs/DistributionsAPI.md b/release/docs/DistributionsAPI.md index 22368b0..301299e 100644 --- a/release/docs/DistributionsAPI.md +++ b/release/docs/DistributionsAPI.md @@ -50,8 +50,8 @@ func main() { 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) - pulpType := "pulpType_example" // string | Pulp type* `core.artifact` - core.artifact* `core.openpgp` - core.openpgp* `rpm.rpm` - rpm.rpm* `file.file` - file.file* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem (optional) - pulpTypeIn := []string{"PulpTypeIn_example"} // []string | Multiple values may be separated by commas.* `core.artifact` - core.artifact* `core.openpgp` - core.openpgp* `rpm.rpm` - rpm.rpm* `file.file` - file.file* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem (optional) + pulpType := "pulpType_example" // string | Pulp type* `core.artifact` - core.artifact* `core.openpgp` - core.openpgp* `file.file` - file.file* `rpm.rpm` - rpm.rpm* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem (optional) + pulpTypeIn := []string{"PulpTypeIn_example"} // []string | Multiple values may be separated by commas.* `core.artifact` - core.artifact* `core.openpgp` - core.openpgp* `file.file` - file.file* `rpm.rpm` - rpm.rpm* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem (optional) q := "q_example" // string | Filter results by using NOT, AND and OR operations on other filters (optional) repository := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Filter results where repository matches value (optional) repositoryIn := []string{"Inner_example"} // []string | Filter results where repository is in a comma-separated list of values (optional) @@ -107,8 +107,8 @@ Name | Type | Description | Notes **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 | - **pulpType** | **string** | Pulp type* `core.artifact` - core.artifact* `core.openpgp` - core.openpgp* `rpm.rpm` - rpm.rpm* `file.file` - file.file* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem | - **pulpTypeIn** | **[]string** | Multiple values may be separated by commas.* `core.artifact` - core.artifact* `core.openpgp` - core.openpgp* `rpm.rpm` - rpm.rpm* `file.file` - file.file* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem | + **pulpType** | **string** | Pulp type* `core.artifact` - core.artifact* `core.openpgp` - core.openpgp* `file.file` - file.file* `rpm.rpm` - rpm.rpm* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem | + **pulpTypeIn** | **[]string** | Multiple values may be separated by commas.* `core.artifact` - core.artifact* `core.openpgp` - core.openpgp* `file.file` - file.file* `rpm.rpm` - rpm.rpm* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem | **q** | **string** | Filter results by using NOT, AND and OR operations on other filters | **repository** | **string** | Filter results where repository matches value | **repositoryIn** | **[]string** | Filter results where repository is in a comma-separated list of values | diff --git a/release/docs/FilesystemExportResponse.md b/release/docs/FilesystemExportResponse.md index 1cbcf2e..cff1937 100644 --- a/release/docs/FilesystemExportResponse.md +++ b/release/docs/FilesystemExportResponse.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **PulpLastUpdated** | Pointer to **time.Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly] **Task** | Pointer to **NullableString** | A URI of the task that ran the Export. | [optional] **ExportedResources** | Pointer to **[]string** | Resources that were exported. | [optional] [readonly] -**Params** | Pointer to **interface{}** | Any additional parameters that were used to create the export. | [optional] [readonly] +**Params** | Pointer to **map[string]interface{}** | Any additional parameters that were used to create the export. | [optional] [readonly] ## Methods @@ -193,20 +193,20 @@ HasExportedResources returns a boolean if a field has been set. ### GetParams -`func (o *FilesystemExportResponse) GetParams() interface{}` +`func (o *FilesystemExportResponse) GetParams() map[string]interface{}` GetParams returns the Params field if non-nil, zero value otherwise. ### GetParamsOk -`func (o *FilesystemExportResponse) GetParamsOk() (*interface{}, bool)` +`func (o *FilesystemExportResponse) GetParamsOk() (*map[string]interface{}, bool)` GetParamsOk returns a tuple with the Params field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetParams -`func (o *FilesystemExportResponse) SetParams(v interface{})` +`func (o *FilesystemExportResponse) SetParams(v map[string]interface{})` SetParams sets Params field to given value. @@ -216,16 +216,6 @@ SetParams sets Params field to given value. HasParams returns a boolean if a field has been set. -### SetParamsNil - -`func (o *FilesystemExportResponse) SetParamsNil(b bool)` - - SetParamsNil sets the value for Params to be an explicit nil - -### UnsetParams -`func (o *FilesystemExportResponse) UnsetParams()` - -UnsetParams ensures that no value is present for Params, 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/ImportResponse.md b/release/docs/ImportResponse.md index 8d1c5c0..d9ad327 100644 --- a/release/docs/ImportResponse.md +++ b/release/docs/ImportResponse.md @@ -9,13 +9,13 @@ Name | Type | Description | Notes **PulpCreated** | Pointer to **time.Time** | Timestamp of creation. | [optional] [readonly] **PulpLastUpdated** | Pointer to **time.Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly] **Task** | **string** | A URI of the Task that ran the Import. | -**Params** | **interface{}** | Any parameters that were used to create the import. | +**Params** | **map[string]interface{}** | Any parameters that were used to create the import. | ## Methods ### NewImportResponse -`func NewImportResponse(task string, params interface{}, ) *ImportResponse` +`func NewImportResponse(task string, params map[string]interface{}, ) *ImportResponse` NewImportResponse instantiates a new ImportResponse object This constructor will assign default values to properties that have it defined, @@ -152,34 +152,24 @@ SetTask sets Task field to given value. ### GetParams -`func (o *ImportResponse) GetParams() interface{}` +`func (o *ImportResponse) GetParams() map[string]interface{}` GetParams returns the Params field if non-nil, zero value otherwise. ### GetParamsOk -`func (o *ImportResponse) GetParamsOk() (*interface{}, bool)` +`func (o *ImportResponse) GetParamsOk() (*map[string]interface{}, bool)` GetParamsOk returns a tuple with the Params field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetParams -`func (o *ImportResponse) SetParams(v interface{})` +`func (o *ImportResponse) SetParams(v map[string]interface{})` SetParams sets Params field to given value. -### SetParamsNil - -`func (o *ImportResponse) SetParamsNil(b bool)` - - SetParamsNil sets the value for Params to be an explicit nil - -### UnsetParams -`func (o *ImportResponse) UnsetParams()` - -UnsetParams ensures that no value is present for Params, 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/PackageMetadataResponse.md b/release/docs/PackageMetadataResponse.md index 08baa44..1eb716e 100644 --- a/release/docs/PackageMetadataResponse.md +++ b/release/docs/PackageMetadataResponse.md @@ -5,15 +5,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **LastSerial** | **int64** | Cache value from last PyPI sync | -**Info** | **interface{}** | Core metadata of the package | -**Releases** | **interface{}** | List of all the releases of the package | -**Urls** | **interface{}** | | +**Info** | **map[string]interface{}** | Core metadata of the package | +**Releases** | **map[string]interface{}** | List of all the releases of the package | +**Urls** | **map[string]interface{}** | | ## Methods ### NewPackageMetadataResponse -`func NewPackageMetadataResponse(lastSerial int64, info interface{}, releases interface{}, urls interface{}, ) *PackageMetadataResponse` +`func NewPackageMetadataResponse(lastSerial int64, info map[string]interface{}, releases map[string]interface{}, urls map[string]interface{}, ) *PackageMetadataResponse` NewPackageMetadataResponse instantiates a new PackageMetadataResponse object This constructor will assign default values to properties that have it defined, @@ -50,94 +50,64 @@ SetLastSerial sets LastSerial field to given value. ### GetInfo -`func (o *PackageMetadataResponse) GetInfo() interface{}` +`func (o *PackageMetadataResponse) GetInfo() map[string]interface{}` GetInfo returns the Info field if non-nil, zero value otherwise. ### GetInfoOk -`func (o *PackageMetadataResponse) GetInfoOk() (*interface{}, bool)` +`func (o *PackageMetadataResponse) GetInfoOk() (*map[string]interface{}, bool)` GetInfoOk returns a tuple with the Info field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetInfo -`func (o *PackageMetadataResponse) SetInfo(v interface{})` +`func (o *PackageMetadataResponse) SetInfo(v map[string]interface{})` SetInfo sets Info field to given value. -### SetInfoNil - -`func (o *PackageMetadataResponse) SetInfoNil(b bool)` - - SetInfoNil sets the value for Info to be an explicit nil - -### UnsetInfo -`func (o *PackageMetadataResponse) UnsetInfo()` - -UnsetInfo ensures that no value is present for Info, not even an explicit nil ### GetReleases -`func (o *PackageMetadataResponse) GetReleases() interface{}` +`func (o *PackageMetadataResponse) GetReleases() map[string]interface{}` GetReleases returns the Releases field if non-nil, zero value otherwise. ### GetReleasesOk -`func (o *PackageMetadataResponse) GetReleasesOk() (*interface{}, bool)` +`func (o *PackageMetadataResponse) GetReleasesOk() (*map[string]interface{}, bool)` GetReleasesOk returns a tuple with the Releases field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetReleases -`func (o *PackageMetadataResponse) SetReleases(v interface{})` +`func (o *PackageMetadataResponse) SetReleases(v map[string]interface{})` SetReleases sets Releases field to given value. -### SetReleasesNil - -`func (o *PackageMetadataResponse) SetReleasesNil(b bool)` - - SetReleasesNil sets the value for Releases to be an explicit nil - -### UnsetReleases -`func (o *PackageMetadataResponse) UnsetReleases()` - -UnsetReleases ensures that no value is present for Releases, not even an explicit nil ### GetUrls -`func (o *PackageMetadataResponse) GetUrls() interface{}` +`func (o *PackageMetadataResponse) GetUrls() map[string]interface{}` GetUrls returns the Urls field if non-nil, zero value otherwise. ### GetUrlsOk -`func (o *PackageMetadataResponse) GetUrlsOk() (*interface{}, bool)` +`func (o *PackageMetadataResponse) GetUrlsOk() (*map[string]interface{}, bool)` GetUrlsOk returns a tuple with the Urls field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUrls -`func (o *PackageMetadataResponse) SetUrls(v interface{})` +`func (o *PackageMetadataResponse) SetUrls(v map[string]interface{})` SetUrls sets Urls field to given value. -### SetUrlsNil - -`func (o *PackageMetadataResponse) SetUrlsNil(b bool)` - - SetUrlsNil sets the value for Urls to be an explicit nil - -### UnsetUrls -`func (o *PackageMetadataResponse) UnsetUrls()` - -UnsetUrls ensures that no value is present for Urls, 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/PatchedrpmRpmRepository.md b/release/docs/PatchedrpmRpmRepository.md index e4614bc..f588381 100644 --- a/release/docs/PatchedrpmRpmRepository.md +++ b/release/docs/PatchedrpmRpmRepository.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes **PackageChecksumType** | Pointer to [**NullablePackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | DEPRECATED: use CHECKSUM_TYPE instead.* `unknown` - unknown* `md5` - md5* `sha1` - sha1* `sha224` - sha224* `sha256` - sha256* `sha384` - sha384* `sha512` - sha512 | [optional] **Gpgcheck** | Pointer to **NullableInt64** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional] **RepoGpgcheck** | Pointer to **NullableInt64** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional] -**RepoConfig** | Pointer to **interface{}** | A JSON document describing config.repo file | [optional] +**RepoConfig** | Pointer to **map[string]interface{}** | A JSON document describing config.repo file | [optional] **CompressionType** | Pointer to [**NullableCompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files.* `zstd` - zstd* `gz` - gz | [optional] ## Methods @@ -518,20 +518,20 @@ HasRepoGpgcheck returns a boolean if a field has been set. UnsetRepoGpgcheck ensures that no value is present for RepoGpgcheck, not even an explicit nil ### GetRepoConfig -`func (o *PatchedrpmRpmRepository) GetRepoConfig() interface{}` +`func (o *PatchedrpmRpmRepository) GetRepoConfig() map[string]interface{}` GetRepoConfig returns the RepoConfig field if non-nil, zero value otherwise. ### GetRepoConfigOk -`func (o *PatchedrpmRpmRepository) GetRepoConfigOk() (*interface{}, bool)` +`func (o *PatchedrpmRpmRepository) GetRepoConfigOk() (*map[string]interface{}, bool)` GetRepoConfigOk returns a tuple with the RepoConfig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepoConfig -`func (o *PatchedrpmRpmRepository) SetRepoConfig(v interface{})` +`func (o *PatchedrpmRpmRepository) SetRepoConfig(v map[string]interface{})` SetRepoConfig sets RepoConfig field to given value. @@ -541,16 +541,6 @@ SetRepoConfig sets RepoConfig field to given value. HasRepoConfig returns a boolean if a field has been set. -### SetRepoConfigNil - -`func (o *PatchedrpmRpmRepository) SetRepoConfigNil(b bool)` - - SetRepoConfigNil sets the value for RepoConfig to be an explicit nil - -### UnsetRepoConfig -`func (o *PatchedrpmRpmRepository) UnsetRepoConfig()` - -UnsetRepoConfig ensures that no value is present for RepoConfig, not even an explicit nil ### GetCompressionType `func (o *PatchedrpmRpmRepository) GetCompressionType() CompressionTypeEnum` diff --git a/release/docs/PublicationsAPI.md b/release/docs/PublicationsAPI.md index ba697a1..8723a4d 100644 --- a/release/docs/PublicationsAPI.md +++ b/release/docs/PublicationsAPI.md @@ -45,8 +45,8 @@ func main() { pulpCreatedRange := []time.Time{time.Now()} // []time.Time | Filter results where pulp_created is between two comma separated values (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) - pulpType := "pulpType_example" // string | Pulp type* `rpm.rpm` - rpm.rpm* `file.file` - file.file* `python.python` - python.python* `gem.gem` - gem.gem (optional) - pulpTypeIn := []string{"PulpTypeIn_example"} // []string | Multiple values may be separated by commas.* `rpm.rpm` - rpm.rpm* `file.file` - file.file* `python.python` - python.python* `gem.gem` - gem.gem (optional) + pulpType := "pulpType_example" // string | Pulp type* `file.file` - file.file* `rpm.rpm` - rpm.rpm* `python.python` - python.python* `gem.gem` - gem.gem (optional) + pulpTypeIn := []string{"PulpTypeIn_example"} // []string | Multiple values may be separated by commas.* `file.file` - file.file* `rpm.rpm` - rpm.rpm* `python.python` - python.python* `gem.gem` - gem.gem (optional) q := "q_example" // string | Filter results by using NOT, AND and OR operations on other filters (optional) repository := "repository_example" // string | Repository referenced by HREF/PRN (optional) repositoryVersion := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Repository Version referenced by HREF/PRN (optional) @@ -95,8 +95,8 @@ Name | Type | Description | Notes **pulpCreatedRange** | [**[]time.Time**](time.Time.md) | Filter results where pulp_created is between two comma separated values | **pulpHrefIn** | **[]string** | Multiple values may be separated by commas. | **pulpIdIn** | **[]string** | Multiple values may be separated by commas. | - **pulpType** | **string** | Pulp type* `rpm.rpm` - rpm.rpm* `file.file` - file.file* `python.python` - python.python* `gem.gem` - gem.gem | - **pulpTypeIn** | **[]string** | Multiple values may be separated by commas.* `rpm.rpm` - rpm.rpm* `file.file` - file.file* `python.python` - python.python* `gem.gem` - gem.gem | + **pulpType** | **string** | Pulp type* `file.file` - file.file* `rpm.rpm` - rpm.rpm* `python.python` - python.python* `gem.gem` - gem.gem | + **pulpTypeIn** | **[]string** | Multiple values may be separated by commas.* `file.file` - file.file* `rpm.rpm` - rpm.rpm* `python.python` - python.python* `gem.gem` - gem.gem | **q** | **string** | Filter results by using NOT, AND and OR operations on other filters | **repository** | **string** | Repository referenced by HREF/PRN | **repositoryVersion** | **string** | Repository Version referenced by HREF/PRN | diff --git a/release/docs/PulpExportResponse.md b/release/docs/PulpExportResponse.md index 837725f..3fce924 100644 --- a/release/docs/PulpExportResponse.md +++ b/release/docs/PulpExportResponse.md @@ -10,9 +10,9 @@ Name | Type | Description | Notes **PulpLastUpdated** | Pointer to **time.Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly] **Task** | Pointer to **NullableString** | A URI of the task that ran the Export. | [optional] **ExportedResources** | Pointer to **[]string** | Resources that were exported. | [optional] [readonly] -**Params** | Pointer to **interface{}** | Any additional parameters that were used to create the export. | [optional] [readonly] -**OutputFileInfo** | Pointer to **interface{}** | Dictionary of filename: sha256hash entries for export-output-file(s) | [optional] [readonly] -**TocInfo** | Pointer to **interface{}** | Filename and sha256-checksum of table-of-contents for this export | [optional] [readonly] +**Params** | Pointer to **map[string]interface{}** | Any additional parameters that were used to create the export. | [optional] [readonly] +**OutputFileInfo** | Pointer to **map[string]interface{}** | Dictionary of filename: sha256hash entries for export-output-file(s) | [optional] [readonly] +**TocInfo** | Pointer to **map[string]interface{}** | Filename and sha256-checksum of table-of-contents for this export | [optional] [readonly] ## Methods @@ -195,20 +195,20 @@ HasExportedResources returns a boolean if a field has been set. ### GetParams -`func (o *PulpExportResponse) GetParams() interface{}` +`func (o *PulpExportResponse) GetParams() map[string]interface{}` GetParams returns the Params field if non-nil, zero value otherwise. ### GetParamsOk -`func (o *PulpExportResponse) GetParamsOk() (*interface{}, bool)` +`func (o *PulpExportResponse) GetParamsOk() (*map[string]interface{}, bool)` GetParamsOk returns a tuple with the Params field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetParams -`func (o *PulpExportResponse) SetParams(v interface{})` +`func (o *PulpExportResponse) SetParams(v map[string]interface{})` SetParams sets Params field to given value. @@ -218,32 +218,22 @@ SetParams sets Params field to given value. HasParams returns a boolean if a field has been set. -### SetParamsNil - -`func (o *PulpExportResponse) SetParamsNil(b bool)` - - SetParamsNil sets the value for Params to be an explicit nil - -### UnsetParams -`func (o *PulpExportResponse) UnsetParams()` - -UnsetParams ensures that no value is present for Params, not even an explicit nil ### GetOutputFileInfo -`func (o *PulpExportResponse) GetOutputFileInfo() interface{}` +`func (o *PulpExportResponse) GetOutputFileInfo() map[string]interface{}` GetOutputFileInfo returns the OutputFileInfo field if non-nil, zero value otherwise. ### GetOutputFileInfoOk -`func (o *PulpExportResponse) GetOutputFileInfoOk() (*interface{}, bool)` +`func (o *PulpExportResponse) GetOutputFileInfoOk() (*map[string]interface{}, bool)` GetOutputFileInfoOk returns a tuple with the OutputFileInfo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOutputFileInfo -`func (o *PulpExportResponse) SetOutputFileInfo(v interface{})` +`func (o *PulpExportResponse) SetOutputFileInfo(v map[string]interface{})` SetOutputFileInfo sets OutputFileInfo field to given value. @@ -253,32 +243,22 @@ SetOutputFileInfo sets OutputFileInfo field to given value. HasOutputFileInfo returns a boolean if a field has been set. -### SetOutputFileInfoNil - -`func (o *PulpExportResponse) SetOutputFileInfoNil(b bool)` - - SetOutputFileInfoNil sets the value for OutputFileInfo to be an explicit nil - -### UnsetOutputFileInfo -`func (o *PulpExportResponse) UnsetOutputFileInfo()` - -UnsetOutputFileInfo ensures that no value is present for OutputFileInfo, not even an explicit nil ### GetTocInfo -`func (o *PulpExportResponse) GetTocInfo() interface{}` +`func (o *PulpExportResponse) GetTocInfo() map[string]interface{}` GetTocInfo returns the TocInfo field if non-nil, zero value otherwise. ### GetTocInfoOk -`func (o *PulpExportResponse) GetTocInfoOk() (*interface{}, bool)` +`func (o *PulpExportResponse) GetTocInfoOk() (*map[string]interface{}, bool)` GetTocInfoOk returns a tuple with the TocInfo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTocInfo -`func (o *PulpExportResponse) SetTocInfo(v interface{})` +`func (o *PulpExportResponse) SetTocInfo(v map[string]interface{})` SetTocInfo sets TocInfo field to given value. @@ -288,16 +268,6 @@ SetTocInfo sets TocInfo field to given value. HasTocInfo returns a boolean if a field has been set. -### SetTocInfoNil - -`func (o *PulpExportResponse) SetTocInfoNil(b bool)` - - SetTocInfoNil sets the value for TocInfo to be an explicit nil - -### UnsetTocInfo -`func (o *PulpExportResponse) UnsetTocInfo()` - -UnsetTocInfo ensures that no value is present for TocInfo, 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/PythonPythonPackageContent.md b/release/docs/PythonPythonPackageContent.md index 8858f39..52c20bf 100644 --- a/release/docs/PythonPythonPackageContent.md +++ b/release/docs/PythonPythonPackageContent.md @@ -24,14 +24,14 @@ Name | Type | Description | Notes **License** | Pointer to **string** | Text indicating the license covering the distribution | [optional] **RequiresPython** | Pointer to **string** | The Python version(s) that the distribution is guaranteed to be compatible with. | [optional] **ProjectUrl** | Pointer to **string** | A browsable URL for the project and a label for it, separated by a comma. | [optional] -**ProjectUrls** | Pointer to **interface{}** | A dictionary of labels and URLs for the project. | [optional] +**ProjectUrls** | Pointer to **map[string]interface{}** | A dictionary of labels and URLs for the project. | [optional] **Platform** | Pointer to **string** | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. | [optional] **SupportedPlatform** | Pointer to **string** | Field to specify the OS and CPU for which the binary package was compiled. | [optional] -**RequiresDist** | Pointer to **interface{}** | A JSON list containing names of some other distutils project required by this distribution. | [optional] -**ProvidesDist** | Pointer to **interface{}** | A JSON list containing names of a Distutils project which is contained within this distribution. | [optional] -**ObsoletesDist** | Pointer to **interface{}** | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. | [optional] -**RequiresExternal** | Pointer to **interface{}** | A JSON list containing some dependency in the system that the distribution is to be used. | [optional] -**Classifiers** | Pointer to **interface{}** | A JSON list containing classification values for a Python package. | [optional] +**RequiresDist** | Pointer to **map[string]interface{}** | A JSON list containing names of some other distutils project required by this distribution. | [optional] +**ProvidesDist** | Pointer to **map[string]interface{}** | A JSON list containing names of a Distutils project which is contained within this distribution. | [optional] +**ObsoletesDist** | Pointer to **map[string]interface{}** | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. | [optional] +**RequiresExternal** | Pointer to **map[string]interface{}** | A JSON list containing some dependency in the system that the distribution is to be used. | [optional] +**Classifiers** | Pointer to **map[string]interface{}** | A JSON list containing classification values for a Python package. | [optional] ## Methods @@ -549,20 +549,20 @@ HasProjectUrl returns a boolean if a field has been set. ### GetProjectUrls -`func (o *PythonPythonPackageContent) GetProjectUrls() interface{}` +`func (o *PythonPythonPackageContent) GetProjectUrls() map[string]interface{}` GetProjectUrls returns the ProjectUrls field if non-nil, zero value otherwise. ### GetProjectUrlsOk -`func (o *PythonPythonPackageContent) GetProjectUrlsOk() (*interface{}, bool)` +`func (o *PythonPythonPackageContent) GetProjectUrlsOk() (*map[string]interface{}, bool)` GetProjectUrlsOk returns a tuple with the ProjectUrls field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProjectUrls -`func (o *PythonPythonPackageContent) SetProjectUrls(v interface{})` +`func (o *PythonPythonPackageContent) SetProjectUrls(v map[string]interface{})` SetProjectUrls sets ProjectUrls field to given value. @@ -572,16 +572,6 @@ SetProjectUrls sets ProjectUrls field to given value. HasProjectUrls returns a boolean if a field has been set. -### SetProjectUrlsNil - -`func (o *PythonPythonPackageContent) SetProjectUrlsNil(b bool)` - - SetProjectUrlsNil sets the value for ProjectUrls to be an explicit nil - -### UnsetProjectUrls -`func (o *PythonPythonPackageContent) UnsetProjectUrls()` - -UnsetProjectUrls ensures that no value is present for ProjectUrls, not even an explicit nil ### GetPlatform `func (o *PythonPythonPackageContent) GetPlatform() string` @@ -634,20 +624,20 @@ HasSupportedPlatform returns a boolean if a field has been set. ### GetRequiresDist -`func (o *PythonPythonPackageContent) GetRequiresDist() interface{}` +`func (o *PythonPythonPackageContent) GetRequiresDist() map[string]interface{}` GetRequiresDist returns the RequiresDist field if non-nil, zero value otherwise. ### GetRequiresDistOk -`func (o *PythonPythonPackageContent) GetRequiresDistOk() (*interface{}, bool)` +`func (o *PythonPythonPackageContent) GetRequiresDistOk() (*map[string]interface{}, bool)` GetRequiresDistOk returns a tuple with the RequiresDist field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRequiresDist -`func (o *PythonPythonPackageContent) SetRequiresDist(v interface{})` +`func (o *PythonPythonPackageContent) SetRequiresDist(v map[string]interface{})` SetRequiresDist sets RequiresDist field to given value. @@ -657,32 +647,22 @@ SetRequiresDist sets RequiresDist field to given value. HasRequiresDist returns a boolean if a field has been set. -### SetRequiresDistNil - -`func (o *PythonPythonPackageContent) SetRequiresDistNil(b bool)` - - SetRequiresDistNil sets the value for RequiresDist to be an explicit nil - -### UnsetRequiresDist -`func (o *PythonPythonPackageContent) UnsetRequiresDist()` - -UnsetRequiresDist ensures that no value is present for RequiresDist, not even an explicit nil ### GetProvidesDist -`func (o *PythonPythonPackageContent) GetProvidesDist() interface{}` +`func (o *PythonPythonPackageContent) GetProvidesDist() map[string]interface{}` GetProvidesDist returns the ProvidesDist field if non-nil, zero value otherwise. ### GetProvidesDistOk -`func (o *PythonPythonPackageContent) GetProvidesDistOk() (*interface{}, bool)` +`func (o *PythonPythonPackageContent) GetProvidesDistOk() (*map[string]interface{}, bool)` GetProvidesDistOk returns a tuple with the ProvidesDist field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProvidesDist -`func (o *PythonPythonPackageContent) SetProvidesDist(v interface{})` +`func (o *PythonPythonPackageContent) SetProvidesDist(v map[string]interface{})` SetProvidesDist sets ProvidesDist field to given value. @@ -692,32 +672,22 @@ SetProvidesDist sets ProvidesDist field to given value. HasProvidesDist returns a boolean if a field has been set. -### SetProvidesDistNil - -`func (o *PythonPythonPackageContent) SetProvidesDistNil(b bool)` - - SetProvidesDistNil sets the value for ProvidesDist to be an explicit nil - -### UnsetProvidesDist -`func (o *PythonPythonPackageContent) UnsetProvidesDist()` - -UnsetProvidesDist ensures that no value is present for ProvidesDist, not even an explicit nil ### GetObsoletesDist -`func (o *PythonPythonPackageContent) GetObsoletesDist() interface{}` +`func (o *PythonPythonPackageContent) GetObsoletesDist() map[string]interface{}` GetObsoletesDist returns the ObsoletesDist field if non-nil, zero value otherwise. ### GetObsoletesDistOk -`func (o *PythonPythonPackageContent) GetObsoletesDistOk() (*interface{}, bool)` +`func (o *PythonPythonPackageContent) GetObsoletesDistOk() (*map[string]interface{}, bool)` GetObsoletesDistOk returns a tuple with the ObsoletesDist field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetObsoletesDist -`func (o *PythonPythonPackageContent) SetObsoletesDist(v interface{})` +`func (o *PythonPythonPackageContent) SetObsoletesDist(v map[string]interface{})` SetObsoletesDist sets ObsoletesDist field to given value. @@ -727,32 +697,22 @@ SetObsoletesDist sets ObsoletesDist field to given value. HasObsoletesDist returns a boolean if a field has been set. -### SetObsoletesDistNil - -`func (o *PythonPythonPackageContent) SetObsoletesDistNil(b bool)` - - SetObsoletesDistNil sets the value for ObsoletesDist to be an explicit nil - -### UnsetObsoletesDist -`func (o *PythonPythonPackageContent) UnsetObsoletesDist()` - -UnsetObsoletesDist ensures that no value is present for ObsoletesDist, not even an explicit nil ### GetRequiresExternal -`func (o *PythonPythonPackageContent) GetRequiresExternal() interface{}` +`func (o *PythonPythonPackageContent) GetRequiresExternal() map[string]interface{}` GetRequiresExternal returns the RequiresExternal field if non-nil, zero value otherwise. ### GetRequiresExternalOk -`func (o *PythonPythonPackageContent) GetRequiresExternalOk() (*interface{}, bool)` +`func (o *PythonPythonPackageContent) GetRequiresExternalOk() (*map[string]interface{}, bool)` GetRequiresExternalOk returns a tuple with the RequiresExternal field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRequiresExternal -`func (o *PythonPythonPackageContent) SetRequiresExternal(v interface{})` +`func (o *PythonPythonPackageContent) SetRequiresExternal(v map[string]interface{})` SetRequiresExternal sets RequiresExternal field to given value. @@ -762,32 +722,22 @@ SetRequiresExternal sets RequiresExternal field to given value. HasRequiresExternal returns a boolean if a field has been set. -### SetRequiresExternalNil - -`func (o *PythonPythonPackageContent) SetRequiresExternalNil(b bool)` - - SetRequiresExternalNil sets the value for RequiresExternal to be an explicit nil - -### UnsetRequiresExternal -`func (o *PythonPythonPackageContent) UnsetRequiresExternal()` - -UnsetRequiresExternal ensures that no value is present for RequiresExternal, not even an explicit nil ### GetClassifiers -`func (o *PythonPythonPackageContent) GetClassifiers() interface{}` +`func (o *PythonPythonPackageContent) GetClassifiers() map[string]interface{}` GetClassifiers returns the Classifiers field if non-nil, zero value otherwise. ### GetClassifiersOk -`func (o *PythonPythonPackageContent) GetClassifiersOk() (*interface{}, bool)` +`func (o *PythonPythonPackageContent) GetClassifiersOk() (*map[string]interface{}, bool)` GetClassifiersOk returns a tuple with the Classifiers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetClassifiers -`func (o *PythonPythonPackageContent) SetClassifiers(v interface{})` +`func (o *PythonPythonPackageContent) SetClassifiers(v map[string]interface{})` SetClassifiers sets Classifiers field to given value. @@ -797,16 +747,6 @@ SetClassifiers sets Classifiers field to given value. HasClassifiers returns a boolean if a field has been set. -### SetClassifiersNil - -`func (o *PythonPythonPackageContent) SetClassifiersNil(b bool)` - - SetClassifiersNil sets the value for Classifiers to be an explicit nil - -### UnsetClassifiers -`func (o *PythonPythonPackageContent) UnsetClassifiers()` - -UnsetClassifiers ensures that no value is present for Classifiers, 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/PythonPythonPackageContentResponse.md b/release/docs/PythonPythonPackageContentResponse.md index 01eab2b..07fd865 100644 --- a/release/docs/PythonPythonPackageContentResponse.md +++ b/release/docs/PythonPythonPackageContentResponse.md @@ -28,14 +28,14 @@ Name | Type | Description | Notes **License** | Pointer to **string** | Text indicating the license covering the distribution | [optional] **RequiresPython** | Pointer to **string** | The Python version(s) that the distribution is guaranteed to be compatible with. | [optional] **ProjectUrl** | Pointer to **string** | A browsable URL for the project and a label for it, separated by a comma. | [optional] -**ProjectUrls** | Pointer to **interface{}** | A dictionary of labels and URLs for the project. | [optional] +**ProjectUrls** | Pointer to **map[string]interface{}** | A dictionary of labels and URLs for the project. | [optional] **Platform** | Pointer to **string** | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. | [optional] **SupportedPlatform** | Pointer to **string** | Field to specify the OS and CPU for which the binary package was compiled. | [optional] -**RequiresDist** | Pointer to **interface{}** | A JSON list containing names of some other distutils project required by this distribution. | [optional] -**ProvidesDist** | Pointer to **interface{}** | A JSON list containing names of a Distutils project which is contained within this distribution. | [optional] -**ObsoletesDist** | Pointer to **interface{}** | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. | [optional] -**RequiresExternal** | Pointer to **interface{}** | A JSON list containing some dependency in the system that the distribution is to be used. | [optional] -**Classifiers** | Pointer to **interface{}** | A JSON list containing classification values for a Python package. | [optional] +**RequiresDist** | Pointer to **map[string]interface{}** | A JSON list containing names of some other distutils project required by this distribution. | [optional] +**ProvidesDist** | Pointer to **map[string]interface{}** | A JSON list containing names of a Distutils project which is contained within this distribution. | [optional] +**ObsoletesDist** | Pointer to **map[string]interface{}** | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. | [optional] +**RequiresExternal** | Pointer to **map[string]interface{}** | A JSON list containing some dependency in the system that the distribution is to be used. | [optional] +**Classifiers** | Pointer to **map[string]interface{}** | A JSON list containing classification values for a Python package. | [optional] ## Methods @@ -658,20 +658,20 @@ HasProjectUrl returns a boolean if a field has been set. ### GetProjectUrls -`func (o *PythonPythonPackageContentResponse) GetProjectUrls() interface{}` +`func (o *PythonPythonPackageContentResponse) GetProjectUrls() map[string]interface{}` GetProjectUrls returns the ProjectUrls field if non-nil, zero value otherwise. ### GetProjectUrlsOk -`func (o *PythonPythonPackageContentResponse) GetProjectUrlsOk() (*interface{}, bool)` +`func (o *PythonPythonPackageContentResponse) GetProjectUrlsOk() (*map[string]interface{}, bool)` GetProjectUrlsOk returns a tuple with the ProjectUrls field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProjectUrls -`func (o *PythonPythonPackageContentResponse) SetProjectUrls(v interface{})` +`func (o *PythonPythonPackageContentResponse) SetProjectUrls(v map[string]interface{})` SetProjectUrls sets ProjectUrls field to given value. @@ -681,16 +681,6 @@ SetProjectUrls sets ProjectUrls field to given value. HasProjectUrls returns a boolean if a field has been set. -### SetProjectUrlsNil - -`func (o *PythonPythonPackageContentResponse) SetProjectUrlsNil(b bool)` - - SetProjectUrlsNil sets the value for ProjectUrls to be an explicit nil - -### UnsetProjectUrls -`func (o *PythonPythonPackageContentResponse) UnsetProjectUrls()` - -UnsetProjectUrls ensures that no value is present for ProjectUrls, not even an explicit nil ### GetPlatform `func (o *PythonPythonPackageContentResponse) GetPlatform() string` @@ -743,20 +733,20 @@ HasSupportedPlatform returns a boolean if a field has been set. ### GetRequiresDist -`func (o *PythonPythonPackageContentResponse) GetRequiresDist() interface{}` +`func (o *PythonPythonPackageContentResponse) GetRequiresDist() map[string]interface{}` GetRequiresDist returns the RequiresDist field if non-nil, zero value otherwise. ### GetRequiresDistOk -`func (o *PythonPythonPackageContentResponse) GetRequiresDistOk() (*interface{}, bool)` +`func (o *PythonPythonPackageContentResponse) GetRequiresDistOk() (*map[string]interface{}, bool)` GetRequiresDistOk returns a tuple with the RequiresDist field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRequiresDist -`func (o *PythonPythonPackageContentResponse) SetRequiresDist(v interface{})` +`func (o *PythonPythonPackageContentResponse) SetRequiresDist(v map[string]interface{})` SetRequiresDist sets RequiresDist field to given value. @@ -766,32 +756,22 @@ SetRequiresDist sets RequiresDist field to given value. HasRequiresDist returns a boolean if a field has been set. -### SetRequiresDistNil - -`func (o *PythonPythonPackageContentResponse) SetRequiresDistNil(b bool)` - - SetRequiresDistNil sets the value for RequiresDist to be an explicit nil - -### UnsetRequiresDist -`func (o *PythonPythonPackageContentResponse) UnsetRequiresDist()` - -UnsetRequiresDist ensures that no value is present for RequiresDist, not even an explicit nil ### GetProvidesDist -`func (o *PythonPythonPackageContentResponse) GetProvidesDist() interface{}` +`func (o *PythonPythonPackageContentResponse) GetProvidesDist() map[string]interface{}` GetProvidesDist returns the ProvidesDist field if non-nil, zero value otherwise. ### GetProvidesDistOk -`func (o *PythonPythonPackageContentResponse) GetProvidesDistOk() (*interface{}, bool)` +`func (o *PythonPythonPackageContentResponse) GetProvidesDistOk() (*map[string]interface{}, bool)` GetProvidesDistOk returns a tuple with the ProvidesDist field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProvidesDist -`func (o *PythonPythonPackageContentResponse) SetProvidesDist(v interface{})` +`func (o *PythonPythonPackageContentResponse) SetProvidesDist(v map[string]interface{})` SetProvidesDist sets ProvidesDist field to given value. @@ -801,32 +781,22 @@ SetProvidesDist sets ProvidesDist field to given value. HasProvidesDist returns a boolean if a field has been set. -### SetProvidesDistNil - -`func (o *PythonPythonPackageContentResponse) SetProvidesDistNil(b bool)` - - SetProvidesDistNil sets the value for ProvidesDist to be an explicit nil - -### UnsetProvidesDist -`func (o *PythonPythonPackageContentResponse) UnsetProvidesDist()` - -UnsetProvidesDist ensures that no value is present for ProvidesDist, not even an explicit nil ### GetObsoletesDist -`func (o *PythonPythonPackageContentResponse) GetObsoletesDist() interface{}` +`func (o *PythonPythonPackageContentResponse) GetObsoletesDist() map[string]interface{}` GetObsoletesDist returns the ObsoletesDist field if non-nil, zero value otherwise. ### GetObsoletesDistOk -`func (o *PythonPythonPackageContentResponse) GetObsoletesDistOk() (*interface{}, bool)` +`func (o *PythonPythonPackageContentResponse) GetObsoletesDistOk() (*map[string]interface{}, bool)` GetObsoletesDistOk returns a tuple with the ObsoletesDist field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetObsoletesDist -`func (o *PythonPythonPackageContentResponse) SetObsoletesDist(v interface{})` +`func (o *PythonPythonPackageContentResponse) SetObsoletesDist(v map[string]interface{})` SetObsoletesDist sets ObsoletesDist field to given value. @@ -836,32 +806,22 @@ SetObsoletesDist sets ObsoletesDist field to given value. HasObsoletesDist returns a boolean if a field has been set. -### SetObsoletesDistNil - -`func (o *PythonPythonPackageContentResponse) SetObsoletesDistNil(b bool)` - - SetObsoletesDistNil sets the value for ObsoletesDist to be an explicit nil - -### UnsetObsoletesDist -`func (o *PythonPythonPackageContentResponse) UnsetObsoletesDist()` - -UnsetObsoletesDist ensures that no value is present for ObsoletesDist, not even an explicit nil ### GetRequiresExternal -`func (o *PythonPythonPackageContentResponse) GetRequiresExternal() interface{}` +`func (o *PythonPythonPackageContentResponse) GetRequiresExternal() map[string]interface{}` GetRequiresExternal returns the RequiresExternal field if non-nil, zero value otherwise. ### GetRequiresExternalOk -`func (o *PythonPythonPackageContentResponse) GetRequiresExternalOk() (*interface{}, bool)` +`func (o *PythonPythonPackageContentResponse) GetRequiresExternalOk() (*map[string]interface{}, bool)` GetRequiresExternalOk returns a tuple with the RequiresExternal field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRequiresExternal -`func (o *PythonPythonPackageContentResponse) SetRequiresExternal(v interface{})` +`func (o *PythonPythonPackageContentResponse) SetRequiresExternal(v map[string]interface{})` SetRequiresExternal sets RequiresExternal field to given value. @@ -871,32 +831,22 @@ SetRequiresExternal sets RequiresExternal field to given value. HasRequiresExternal returns a boolean if a field has been set. -### SetRequiresExternalNil - -`func (o *PythonPythonPackageContentResponse) SetRequiresExternalNil(b bool)` - - SetRequiresExternalNil sets the value for RequiresExternal to be an explicit nil - -### UnsetRequiresExternal -`func (o *PythonPythonPackageContentResponse) UnsetRequiresExternal()` - -UnsetRequiresExternal ensures that no value is present for RequiresExternal, not even an explicit nil ### GetClassifiers -`func (o *PythonPythonPackageContentResponse) GetClassifiers() interface{}` +`func (o *PythonPythonPackageContentResponse) GetClassifiers() map[string]interface{}` GetClassifiers returns the Classifiers field if non-nil, zero value otherwise. ### GetClassifiersOk -`func (o *PythonPythonPackageContentResponse) GetClassifiersOk() (*interface{}, bool)` +`func (o *PythonPythonPackageContentResponse) GetClassifiersOk() (*map[string]interface{}, bool)` GetClassifiersOk returns a tuple with the Classifiers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetClassifiers -`func (o *PythonPythonPackageContentResponse) SetClassifiers(v interface{})` +`func (o *PythonPythonPackageContentResponse) SetClassifiers(v map[string]interface{})` SetClassifiers sets Classifiers field to given value. @@ -906,16 +856,6 @@ SetClassifiers sets Classifiers field to given value. HasClassifiers returns a boolean if a field has been set. -### SetClassifiersNil - -`func (o *PythonPythonPackageContentResponse) SetClassifiersNil(b bool)` - - SetClassifiersNil sets the value for Classifiers to be an explicit nil - -### UnsetClassifiers -`func (o *PythonPythonPackageContentResponse) UnsetClassifiers()` - -UnsetClassifiers ensures that no value is present for Classifiers, 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/RemotesAPI.md b/release/docs/RemotesAPI.md index dbc35b0..91c5c9d 100644 --- a/release/docs/RemotesAPI.md +++ b/release/docs/RemotesAPI.md @@ -53,8 +53,8 @@ func main() { pulpLastUpdatedLt := time.Now() // time.Time | Filter results where pulp_last_updated is less than value (optional) pulpLastUpdatedLte := time.Now() // time.Time | Filter results where pulp_last_updated is less than or equal to value (optional) pulpLastUpdatedRange := []time.Time{time.Now()} // []time.Time | Filter results where pulp_last_updated is between two comma separated values (optional) - pulpType := "pulpType_example" // string | Pulp type* `rpm.rpm` - rpm.rpm* `rpm.uln` - rpm.uln* `file.file` - file.file* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem (optional) - pulpTypeIn := []string{"PulpTypeIn_example"} // []string | Multiple values may be separated by commas.* `rpm.rpm` - rpm.rpm* `rpm.uln` - rpm.uln* `file.file` - file.file* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem (optional) + pulpType := "pulpType_example" // string | Pulp type* `file.file` - file.file* `rpm.rpm` - rpm.rpm* `rpm.uln` - rpm.uln* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem (optional) + pulpTypeIn := []string{"PulpTypeIn_example"} // []string | Multiple values may be separated by commas.* `file.file` - file.file* `rpm.rpm` - rpm.rpm* `rpm.uln` - rpm.uln* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem (optional) q := "q_example" // string | Filter results by using NOT, AND and OR operations on other filters (optional) fields := []string{"Inner_example"} // []string | A list of fields to include in the response. (optional) excludeFields := []string{"Inner_example"} // []string | A list of fields to exclude from the response. (optional) @@ -109,8 +109,8 @@ Name | Type | Description | Notes **pulpLastUpdatedLt** | **time.Time** | Filter results where pulp_last_updated is less than value | **pulpLastUpdatedLte** | **time.Time** | Filter results where pulp_last_updated is less than or equal to value | **pulpLastUpdatedRange** | [**[]time.Time**](time.Time.md) | Filter results where pulp_last_updated is between two comma separated values | - **pulpType** | **string** | Pulp type* `rpm.rpm` - rpm.rpm* `rpm.uln` - rpm.uln* `file.file` - file.file* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem | - **pulpTypeIn** | **[]string** | Multiple values may be separated by commas.* `rpm.rpm` - rpm.rpm* `rpm.uln` - rpm.uln* `file.file` - file.file* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem | + **pulpType** | **string** | Pulp type* `file.file` - file.file* `rpm.rpm` - rpm.rpm* `rpm.uln` - rpm.uln* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem | + **pulpTypeIn** | **[]string** | Multiple values may be separated by commas.* `file.file` - file.file* `rpm.rpm` - rpm.rpm* `rpm.uln` - rpm.uln* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem | **q** | **string** | Filter results by using NOT, AND and OR operations on other filters | **fields** | **[]string** | A list of fields to include in the response. | **excludeFields** | **[]string** | A list of fields to exclude from the response. | diff --git a/release/docs/RepositoriesAPI.md b/release/docs/RepositoriesAPI.md index 81ccd7c..e0f5be8 100644 --- a/release/docs/RepositoriesAPI.md +++ b/release/docs/RepositoriesAPI.md @@ -47,8 +47,8 @@ func main() { 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) - pulpType := "pulpType_example" // string | Pulp type* `core.openpgp` - core.openpgp* `rpm.rpm` - rpm.rpm* `file.file` - file.file* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem (optional) - pulpTypeIn := []string{"PulpTypeIn_example"} // []string | Multiple values may be separated by commas.* `core.openpgp` - core.openpgp* `rpm.rpm` - rpm.rpm* `file.file` - file.file* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem (optional) + pulpType := "pulpType_example" // string | Pulp type* `core.openpgp` - core.openpgp* `file.file` - file.file* `rpm.rpm` - rpm.rpm* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem (optional) + pulpTypeIn := []string{"PulpTypeIn_example"} // []string | Multiple values may be separated by commas.* `core.openpgp` - core.openpgp* `file.file` - file.file* `rpm.rpm` - rpm.rpm* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem (optional) q := "q_example" // string | Filter results by using NOT, AND and OR operations on other filters (optional) remote := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Foreign Key referenced by HREF (optional) retainRepoVersions := int32(56) // int32 | Filter results where retain_repo_versions matches value (optional) @@ -108,8 +108,8 @@ Name | Type | Description | Notes **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 | - **pulpType** | **string** | Pulp type* `core.openpgp` - core.openpgp* `rpm.rpm` - rpm.rpm* `file.file` - file.file* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem | - **pulpTypeIn** | **[]string** | Multiple values may be separated by commas.* `core.openpgp` - core.openpgp* `rpm.rpm` - rpm.rpm* `file.file` - file.file* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem | + **pulpType** | **string** | Pulp type* `core.openpgp` - core.openpgp* `file.file` - file.file* `rpm.rpm` - rpm.rpm* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem | + **pulpTypeIn** | **[]string** | Multiple values may be separated by commas.* `core.openpgp` - core.openpgp* `file.file` - file.file* `rpm.rpm` - rpm.rpm* `ostree.ostree` - ostree.ostree* `python.python` - python.python* `gem.gem` - gem.gem | **q** | **string** | Filter results by using NOT, AND and OR operations on other filters | **remote** | **string** | Foreign Key referenced by HREF | **retainRepoVersions** | **int32** | Filter results where retain_repo_versions matches value | diff --git a/release/docs/RpmCopyAPI.md b/release/docs/RpmCopyAPI.md index e0cbcd8..c9f43ec 100644 --- a/release/docs/RpmCopyAPI.md +++ b/release/docs/RpmCopyAPI.md @@ -30,7 +30,7 @@ import ( func main() { pulpDomain := "pulpDomain_example" // string | - copy := *openapiclient.NewCopy(interface{}(123)) // Copy | + copy := *openapiclient.NewCopy(map[string]interface{}(123)) // Copy | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) diff --git a/release/docs/RpmModulemd.md b/release/docs/RpmModulemd.md index 7089d6a..fc00409 100644 --- a/release/docs/RpmModulemd.md +++ b/release/docs/RpmModulemd.md @@ -11,18 +11,18 @@ Name | Type | Description | Notes **StaticContext** | Pointer to **bool** | Modulemd static-context flag. | [optional] **Context** | **string** | Modulemd context. | **Arch** | **string** | Modulemd architecture. | -**Artifacts** | **interface{}** | Modulemd artifacts. | -**Dependencies** | **interface{}** | Modulemd dependencies. | +**Artifacts** | **map[string]interface{}** | Modulemd artifacts. | +**Dependencies** | **map[string]interface{}** | Modulemd dependencies. | **Packages** | Pointer to **[]string** | Modulemd artifacts' packages. | [optional] **Snippet** | **string** | Modulemd snippet | -**Profiles** | **interface{}** | Modulemd profiles. | +**Profiles** | **map[string]interface{}** | Modulemd profiles. | **Description** | **string** | Description of module. | ## Methods ### NewRpmModulemd -`func NewRpmModulemd(name string, stream string, version string, context string, arch string, artifacts interface{}, dependencies interface{}, snippet string, profiles interface{}, description string, ) *RpmModulemd` +`func NewRpmModulemd(name string, stream string, version string, context string, arch string, artifacts map[string]interface{}, dependencies map[string]interface{}, snippet string, profiles map[string]interface{}, description string, ) *RpmModulemd` NewRpmModulemd instantiates a new RpmModulemd object This constructor will assign default values to properties that have it defined, @@ -189,20 +189,20 @@ SetArch sets Arch field to given value. ### GetArtifacts -`func (o *RpmModulemd) GetArtifacts() interface{}` +`func (o *RpmModulemd) GetArtifacts() map[string]interface{}` GetArtifacts returns the Artifacts field if non-nil, zero value otherwise. ### GetArtifactsOk -`func (o *RpmModulemd) GetArtifactsOk() (*interface{}, bool)` +`func (o *RpmModulemd) GetArtifactsOk() (*map[string]interface{}, bool)` GetArtifactsOk returns a tuple with the Artifacts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetArtifacts -`func (o *RpmModulemd) SetArtifacts(v interface{})` +`func (o *RpmModulemd) SetArtifacts(v map[string]interface{})` SetArtifacts sets Artifacts field to given value. @@ -219,20 +219,20 @@ SetArtifacts sets Artifacts field to given value. UnsetArtifacts ensures that no value is present for Artifacts, not even an explicit nil ### GetDependencies -`func (o *RpmModulemd) GetDependencies() interface{}` +`func (o *RpmModulemd) GetDependencies() map[string]interface{}` GetDependencies returns the Dependencies field if non-nil, zero value otherwise. ### GetDependenciesOk -`func (o *RpmModulemd) GetDependenciesOk() (*interface{}, bool)` +`func (o *RpmModulemd) GetDependenciesOk() (*map[string]interface{}, bool)` GetDependenciesOk returns a tuple with the Dependencies field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependencies -`func (o *RpmModulemd) SetDependencies(v interface{})` +`func (o *RpmModulemd) SetDependencies(v map[string]interface{})` SetDependencies sets Dependencies field to given value. @@ -294,20 +294,20 @@ SetSnippet sets Snippet field to given value. ### GetProfiles -`func (o *RpmModulemd) GetProfiles() interface{}` +`func (o *RpmModulemd) GetProfiles() map[string]interface{}` GetProfiles returns the Profiles field if non-nil, zero value otherwise. ### GetProfilesOk -`func (o *RpmModulemd) GetProfilesOk() (*interface{}, bool)` +`func (o *RpmModulemd) GetProfilesOk() (*map[string]interface{}, bool)` GetProfilesOk returns a tuple with the Profiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProfiles -`func (o *RpmModulemd) SetProfiles(v interface{})` +`func (o *RpmModulemd) SetProfiles(v map[string]interface{})` SetProfiles sets Profiles field to given value. diff --git a/release/docs/RpmModulemdDefaults.md b/release/docs/RpmModulemdDefaults.md index 3cbf06f..818c8dc 100644 --- a/release/docs/RpmModulemdDefaults.md +++ b/release/docs/RpmModulemdDefaults.md @@ -7,14 +7,14 @@ Name | Type | Description | Notes **Repository** | Pointer to **string** | A URI of a repository the new content unit should be associated with. | [optional] **Module** | **string** | Modulemd name. | **Stream** | **string** | Modulemd default stream. | -**Profiles** | **interface{}** | Default profiles for modulemd streams. | +**Profiles** | **map[string]interface{}** | Default profiles for modulemd streams. | **Snippet** | **string** | Modulemd default snippet | ## Methods ### NewRpmModulemdDefaults -`func NewRpmModulemdDefaults(module string, stream string, profiles interface{}, snippet string, ) *RpmModulemdDefaults` +`func NewRpmModulemdDefaults(module string, stream string, profiles map[string]interface{}, snippet string, ) *RpmModulemdDefaults` NewRpmModulemdDefaults instantiates a new RpmModulemdDefaults object This constructor will assign default values to properties that have it defined, @@ -96,34 +96,24 @@ SetStream sets Stream field to given value. ### GetProfiles -`func (o *RpmModulemdDefaults) GetProfiles() interface{}` +`func (o *RpmModulemdDefaults) GetProfiles() map[string]interface{}` GetProfiles returns the Profiles field if non-nil, zero value otherwise. ### GetProfilesOk -`func (o *RpmModulemdDefaults) GetProfilesOk() (*interface{}, bool)` +`func (o *RpmModulemdDefaults) GetProfilesOk() (*map[string]interface{}, bool)` GetProfilesOk returns a tuple with the Profiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProfiles -`func (o *RpmModulemdDefaults) SetProfiles(v interface{})` +`func (o *RpmModulemdDefaults) SetProfiles(v map[string]interface{})` SetProfiles sets Profiles field to given value. -### SetProfilesNil - -`func (o *RpmModulemdDefaults) SetProfilesNil(b bool)` - - SetProfilesNil sets the value for Profiles to be an explicit nil - -### UnsetProfiles -`func (o *RpmModulemdDefaults) UnsetProfiles()` - -UnsetProfiles ensures that no value is present for Profiles, not even an explicit nil ### GetSnippet `func (o *RpmModulemdDefaults) GetSnippet() string` diff --git a/release/docs/RpmModulemdDefaultsResponse.md b/release/docs/RpmModulemdDefaultsResponse.md index b1dba9f..a96a35c 100644 --- a/release/docs/RpmModulemdDefaultsResponse.md +++ b/release/docs/RpmModulemdDefaultsResponse.md @@ -10,13 +10,13 @@ Name | Type | Description | Notes **PulpLastUpdated** | Pointer to **time.Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly] **Module** | **string** | Modulemd name. | **Stream** | **string** | Modulemd default stream. | -**Profiles** | **interface{}** | Default profiles for modulemd streams. | +**Profiles** | **map[string]interface{}** | Default profiles for modulemd streams. | ## Methods ### NewRpmModulemdDefaultsResponse -`func NewRpmModulemdDefaultsResponse(module string, stream string, profiles interface{}, ) *RpmModulemdDefaultsResponse` +`func NewRpmModulemdDefaultsResponse(module string, stream string, profiles map[string]interface{}, ) *RpmModulemdDefaultsResponse` NewRpmModulemdDefaultsResponse instantiates a new RpmModulemdDefaultsResponse object This constructor will assign default values to properties that have it defined, @@ -173,34 +173,24 @@ SetStream sets Stream field to given value. ### GetProfiles -`func (o *RpmModulemdDefaultsResponse) GetProfiles() interface{}` +`func (o *RpmModulemdDefaultsResponse) GetProfiles() map[string]interface{}` GetProfiles returns the Profiles field if non-nil, zero value otherwise. ### GetProfilesOk -`func (o *RpmModulemdDefaultsResponse) GetProfilesOk() (*interface{}, bool)` +`func (o *RpmModulemdDefaultsResponse) GetProfilesOk() (*map[string]interface{}, bool)` GetProfilesOk returns a tuple with the Profiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProfiles -`func (o *RpmModulemdDefaultsResponse) SetProfiles(v interface{})` +`func (o *RpmModulemdDefaultsResponse) SetProfiles(v map[string]interface{})` SetProfiles sets Profiles field to given value. -### SetProfilesNil - -`func (o *RpmModulemdDefaultsResponse) SetProfilesNil(b bool)` - - SetProfilesNil sets the value for Profiles to be an explicit nil - -### UnsetProfiles -`func (o *RpmModulemdDefaultsResponse) UnsetProfiles()` - -UnsetProfiles ensures that no value is present for Profiles, 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/RpmModulemdResponse.md b/release/docs/RpmModulemdResponse.md index b253777..d737c12 100644 --- a/release/docs/RpmModulemdResponse.md +++ b/release/docs/RpmModulemdResponse.md @@ -14,17 +14,17 @@ Name | Type | Description | Notes **StaticContext** | Pointer to **bool** | Modulemd static-context flag. | [optional] **Context** | **string** | Modulemd context. | **Arch** | **string** | Modulemd architecture. | -**Artifacts** | **interface{}** | Modulemd artifacts. | -**Dependencies** | **interface{}** | Modulemd dependencies. | +**Artifacts** | **map[string]interface{}** | Modulemd artifacts. | +**Dependencies** | **map[string]interface{}** | Modulemd dependencies. | **Packages** | Pointer to **[]string** | Modulemd artifacts' packages. | [optional] -**Profiles** | **interface{}** | Modulemd profiles. | +**Profiles** | **map[string]interface{}** | Modulemd profiles. | **Description** | **string** | Description of module. | ## Methods ### NewRpmModulemdResponse -`func NewRpmModulemdResponse(name string, stream string, version string, context string, arch string, artifacts interface{}, dependencies interface{}, profiles interface{}, description string, ) *RpmModulemdResponse` +`func NewRpmModulemdResponse(name string, stream string, version string, context string, arch string, artifacts map[string]interface{}, dependencies map[string]interface{}, profiles map[string]interface{}, description string, ) *RpmModulemdResponse` NewRpmModulemdResponse instantiates a new RpmModulemdResponse object This constructor will assign default values to properties that have it defined, @@ -266,20 +266,20 @@ SetArch sets Arch field to given value. ### GetArtifacts -`func (o *RpmModulemdResponse) GetArtifacts() interface{}` +`func (o *RpmModulemdResponse) GetArtifacts() map[string]interface{}` GetArtifacts returns the Artifacts field if non-nil, zero value otherwise. ### GetArtifactsOk -`func (o *RpmModulemdResponse) GetArtifactsOk() (*interface{}, bool)` +`func (o *RpmModulemdResponse) GetArtifactsOk() (*map[string]interface{}, bool)` GetArtifactsOk returns a tuple with the Artifacts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetArtifacts -`func (o *RpmModulemdResponse) SetArtifacts(v interface{})` +`func (o *RpmModulemdResponse) SetArtifacts(v map[string]interface{})` SetArtifacts sets Artifacts field to given value. @@ -296,20 +296,20 @@ SetArtifacts sets Artifacts field to given value. UnsetArtifacts ensures that no value is present for Artifacts, not even an explicit nil ### GetDependencies -`func (o *RpmModulemdResponse) GetDependencies() interface{}` +`func (o *RpmModulemdResponse) GetDependencies() map[string]interface{}` GetDependencies returns the Dependencies field if non-nil, zero value otherwise. ### GetDependenciesOk -`func (o *RpmModulemdResponse) GetDependenciesOk() (*interface{}, bool)` +`func (o *RpmModulemdResponse) GetDependenciesOk() (*map[string]interface{}, bool)` GetDependenciesOk returns a tuple with the Dependencies field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependencies -`func (o *RpmModulemdResponse) SetDependencies(v interface{})` +`func (o *RpmModulemdResponse) SetDependencies(v map[string]interface{})` SetDependencies sets Dependencies field to given value. @@ -351,20 +351,20 @@ HasPackages returns a boolean if a field has been set. ### GetProfiles -`func (o *RpmModulemdResponse) GetProfiles() interface{}` +`func (o *RpmModulemdResponse) GetProfiles() map[string]interface{}` GetProfiles returns the Profiles field if non-nil, zero value otherwise. ### GetProfilesOk -`func (o *RpmModulemdResponse) GetProfilesOk() (*interface{}, bool)` +`func (o *RpmModulemdResponse) GetProfilesOk() (*map[string]interface{}, bool)` GetProfilesOk returns a tuple with the Profiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProfiles -`func (o *RpmModulemdResponse) SetProfiles(v interface{})` +`func (o *RpmModulemdResponse) SetProfiles(v map[string]interface{})` SetProfiles sets Profiles field to given value. diff --git a/release/docs/RpmPackageCategoryResponse.md b/release/docs/RpmPackageCategoryResponse.md index 40057a0..d5f3748 100644 --- a/release/docs/RpmPackageCategoryResponse.md +++ b/release/docs/RpmPackageCategoryResponse.md @@ -12,16 +12,16 @@ Name | Type | Description | Notes **Name** | **string** | Category name. | **Description** | **string** | Category description. | **DisplayOrder** | **NullableInt64** | Category display order. | -**GroupIds** | **interface{}** | Category group list. | -**DescByLang** | **interface{}** | Category description by language. | -**NameByLang** | **interface{}** | Category name by language. | +**GroupIds** | **map[string]interface{}** | Category group list. | +**DescByLang** | **map[string]interface{}** | Category description by language. | +**NameByLang** | **map[string]interface{}** | Category name by language. | **Digest** | **string** | Category digest. | ## Methods ### NewRpmPackageCategoryResponse -`func NewRpmPackageCategoryResponse(id string, name string, description string, displayOrder NullableInt64, groupIds interface{}, descByLang interface{}, nameByLang interface{}, digest string, ) *RpmPackageCategoryResponse` +`func NewRpmPackageCategoryResponse(id string, name string, description string, displayOrder NullableInt64, groupIds map[string]interface{}, descByLang map[string]interface{}, nameByLang map[string]interface{}, digest string, ) *RpmPackageCategoryResponse` NewRpmPackageCategoryResponse instantiates a new RpmPackageCategoryResponse object This constructor will assign default values to properties that have it defined, @@ -228,20 +228,20 @@ SetDisplayOrder sets DisplayOrder field to given value. UnsetDisplayOrder ensures that no value is present for DisplayOrder, not even an explicit nil ### GetGroupIds -`func (o *RpmPackageCategoryResponse) GetGroupIds() interface{}` +`func (o *RpmPackageCategoryResponse) GetGroupIds() map[string]interface{}` GetGroupIds returns the GroupIds field if non-nil, zero value otherwise. ### GetGroupIdsOk -`func (o *RpmPackageCategoryResponse) GetGroupIdsOk() (*interface{}, bool)` +`func (o *RpmPackageCategoryResponse) GetGroupIdsOk() (*map[string]interface{}, bool)` GetGroupIdsOk returns a tuple with the GroupIds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetGroupIds -`func (o *RpmPackageCategoryResponse) SetGroupIds(v interface{})` +`func (o *RpmPackageCategoryResponse) SetGroupIds(v map[string]interface{})` SetGroupIds sets GroupIds field to given value. @@ -258,20 +258,20 @@ SetGroupIds sets GroupIds field to given value. UnsetGroupIds ensures that no value is present for GroupIds, not even an explicit nil ### GetDescByLang -`func (o *RpmPackageCategoryResponse) GetDescByLang() interface{}` +`func (o *RpmPackageCategoryResponse) GetDescByLang() map[string]interface{}` GetDescByLang returns the DescByLang field if non-nil, zero value otherwise. ### GetDescByLangOk -`func (o *RpmPackageCategoryResponse) GetDescByLangOk() (*interface{}, bool)` +`func (o *RpmPackageCategoryResponse) GetDescByLangOk() (*map[string]interface{}, bool)` GetDescByLangOk returns a tuple with the DescByLang field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescByLang -`func (o *RpmPackageCategoryResponse) SetDescByLang(v interface{})` +`func (o *RpmPackageCategoryResponse) SetDescByLang(v map[string]interface{})` SetDescByLang sets DescByLang field to given value. @@ -288,20 +288,20 @@ SetDescByLang sets DescByLang field to given value. UnsetDescByLang ensures that no value is present for DescByLang, not even an explicit nil ### GetNameByLang -`func (o *RpmPackageCategoryResponse) GetNameByLang() interface{}` +`func (o *RpmPackageCategoryResponse) GetNameByLang() map[string]interface{}` GetNameByLang returns the NameByLang field if non-nil, zero value otherwise. ### GetNameByLangOk -`func (o *RpmPackageCategoryResponse) GetNameByLangOk() (*interface{}, bool)` +`func (o *RpmPackageCategoryResponse) GetNameByLangOk() (*map[string]interface{}, bool)` GetNameByLangOk returns a tuple with the NameByLang field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNameByLang -`func (o *RpmPackageCategoryResponse) SetNameByLang(v interface{})` +`func (o *RpmPackageCategoryResponse) SetNameByLang(v map[string]interface{})` SetNameByLang sets NameByLang field to given value. diff --git a/release/docs/RpmPackageEnvironmentResponse.md b/release/docs/RpmPackageEnvironmentResponse.md index 0bab8f1..0b48c0c 100644 --- a/release/docs/RpmPackageEnvironmentResponse.md +++ b/release/docs/RpmPackageEnvironmentResponse.md @@ -12,17 +12,17 @@ Name | Type | Description | Notes **Name** | **string** | Environment name. | **Description** | **string** | Environment description. | **DisplayOrder** | **NullableInt64** | Environment display order. | -**GroupIds** | **interface{}** | Environment group list. | -**OptionIds** | **interface{}** | Environment option ids | -**DescByLang** | **interface{}** | Environment description by language. | -**NameByLang** | **interface{}** | Environment name by language. | +**GroupIds** | **map[string]interface{}** | Environment group list. | +**OptionIds** | **map[string]interface{}** | Environment option ids | +**DescByLang** | **map[string]interface{}** | Environment description by language. | +**NameByLang** | **map[string]interface{}** | Environment name by language. | **Digest** | **string** | Environment digest. | ## Methods ### NewRpmPackageEnvironmentResponse -`func NewRpmPackageEnvironmentResponse(id string, name string, description string, displayOrder NullableInt64, groupIds interface{}, optionIds interface{}, descByLang interface{}, nameByLang interface{}, digest string, ) *RpmPackageEnvironmentResponse` +`func NewRpmPackageEnvironmentResponse(id string, name string, description string, displayOrder NullableInt64, groupIds map[string]interface{}, optionIds map[string]interface{}, descByLang map[string]interface{}, nameByLang map[string]interface{}, digest string, ) *RpmPackageEnvironmentResponse` NewRpmPackageEnvironmentResponse instantiates a new RpmPackageEnvironmentResponse object This constructor will assign default values to properties that have it defined, @@ -229,20 +229,20 @@ SetDisplayOrder sets DisplayOrder field to given value. UnsetDisplayOrder ensures that no value is present for DisplayOrder, not even an explicit nil ### GetGroupIds -`func (o *RpmPackageEnvironmentResponse) GetGroupIds() interface{}` +`func (o *RpmPackageEnvironmentResponse) GetGroupIds() map[string]interface{}` GetGroupIds returns the GroupIds field if non-nil, zero value otherwise. ### GetGroupIdsOk -`func (o *RpmPackageEnvironmentResponse) GetGroupIdsOk() (*interface{}, bool)` +`func (o *RpmPackageEnvironmentResponse) GetGroupIdsOk() (*map[string]interface{}, bool)` GetGroupIdsOk returns a tuple with the GroupIds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetGroupIds -`func (o *RpmPackageEnvironmentResponse) SetGroupIds(v interface{})` +`func (o *RpmPackageEnvironmentResponse) SetGroupIds(v map[string]interface{})` SetGroupIds sets GroupIds field to given value. @@ -259,20 +259,20 @@ SetGroupIds sets GroupIds field to given value. UnsetGroupIds ensures that no value is present for GroupIds, not even an explicit nil ### GetOptionIds -`func (o *RpmPackageEnvironmentResponse) GetOptionIds() interface{}` +`func (o *RpmPackageEnvironmentResponse) GetOptionIds() map[string]interface{}` GetOptionIds returns the OptionIds field if non-nil, zero value otherwise. ### GetOptionIdsOk -`func (o *RpmPackageEnvironmentResponse) GetOptionIdsOk() (*interface{}, bool)` +`func (o *RpmPackageEnvironmentResponse) GetOptionIdsOk() (*map[string]interface{}, bool)` GetOptionIdsOk returns a tuple with the OptionIds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOptionIds -`func (o *RpmPackageEnvironmentResponse) SetOptionIds(v interface{})` +`func (o *RpmPackageEnvironmentResponse) SetOptionIds(v map[string]interface{})` SetOptionIds sets OptionIds field to given value. @@ -289,20 +289,20 @@ SetOptionIds sets OptionIds field to given value. UnsetOptionIds ensures that no value is present for OptionIds, not even an explicit nil ### GetDescByLang -`func (o *RpmPackageEnvironmentResponse) GetDescByLang() interface{}` +`func (o *RpmPackageEnvironmentResponse) GetDescByLang() map[string]interface{}` GetDescByLang returns the DescByLang field if non-nil, zero value otherwise. ### GetDescByLangOk -`func (o *RpmPackageEnvironmentResponse) GetDescByLangOk() (*interface{}, bool)` +`func (o *RpmPackageEnvironmentResponse) GetDescByLangOk() (*map[string]interface{}, bool)` GetDescByLangOk returns a tuple with the DescByLang field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescByLang -`func (o *RpmPackageEnvironmentResponse) SetDescByLang(v interface{})` +`func (o *RpmPackageEnvironmentResponse) SetDescByLang(v map[string]interface{})` SetDescByLang sets DescByLang field to given value. @@ -319,20 +319,20 @@ SetDescByLang sets DescByLang field to given value. UnsetDescByLang ensures that no value is present for DescByLang, not even an explicit nil ### GetNameByLang -`func (o *RpmPackageEnvironmentResponse) GetNameByLang() interface{}` +`func (o *RpmPackageEnvironmentResponse) GetNameByLang() map[string]interface{}` GetNameByLang returns the NameByLang field if non-nil, zero value otherwise. ### GetNameByLangOk -`func (o *RpmPackageEnvironmentResponse) GetNameByLangOk() (*interface{}, bool)` +`func (o *RpmPackageEnvironmentResponse) GetNameByLangOk() (*map[string]interface{}, bool)` GetNameByLangOk returns a tuple with the NameByLang field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNameByLang -`func (o *RpmPackageEnvironmentResponse) SetNameByLang(v interface{})` +`func (o *RpmPackageEnvironmentResponse) SetNameByLang(v map[string]interface{})` SetNameByLang sets NameByLang field to given value. diff --git a/release/docs/RpmPackageGroupResponse.md b/release/docs/RpmPackageGroupResponse.md index 57eff42..760b3c7 100644 --- a/release/docs/RpmPackageGroupResponse.md +++ b/release/docs/RpmPackageGroupResponse.md @@ -14,17 +14,17 @@ Name | Type | Description | Notes **DisplayOrder** | **NullableInt64** | PackageGroup display order. | **Name** | **string** | PackageGroup name. | **Description** | **string** | PackageGroup description. | -**Packages** | **interface{}** | PackageGroup package list. | +**Packages** | **map[string]interface{}** | PackageGroup package list. | **BiarchOnly** | Pointer to **bool** | PackageGroup biarch only. | [optional] -**DescByLang** | **interface{}** | PackageGroup description by language. | -**NameByLang** | **interface{}** | PackageGroup name by language. | +**DescByLang** | **map[string]interface{}** | PackageGroup description by language. | +**NameByLang** | **map[string]interface{}** | PackageGroup name by language. | **Digest** | **string** | PackageGroup digest. | ## Methods ### NewRpmPackageGroupResponse -`func NewRpmPackageGroupResponse(id string, displayOrder NullableInt64, name string, description string, packages interface{}, descByLang interface{}, nameByLang interface{}, digest string, ) *RpmPackageGroupResponse` +`func NewRpmPackageGroupResponse(id string, displayOrder NullableInt64, name string, description string, packages map[string]interface{}, descByLang map[string]interface{}, nameByLang map[string]interface{}, digest string, ) *RpmPackageGroupResponse` NewRpmPackageGroupResponse instantiates a new RpmPackageGroupResponse object This constructor will assign default values to properties that have it defined, @@ -281,20 +281,20 @@ SetDescription sets Description field to given value. ### GetPackages -`func (o *RpmPackageGroupResponse) GetPackages() interface{}` +`func (o *RpmPackageGroupResponse) GetPackages() map[string]interface{}` GetPackages returns the Packages field if non-nil, zero value otherwise. ### GetPackagesOk -`func (o *RpmPackageGroupResponse) GetPackagesOk() (*interface{}, bool)` +`func (o *RpmPackageGroupResponse) GetPackagesOk() (*map[string]interface{}, bool)` GetPackagesOk returns a tuple with the Packages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackages -`func (o *RpmPackageGroupResponse) SetPackages(v interface{})` +`func (o *RpmPackageGroupResponse) SetPackages(v map[string]interface{})` SetPackages sets Packages field to given value. @@ -336,20 +336,20 @@ HasBiarchOnly returns a boolean if a field has been set. ### GetDescByLang -`func (o *RpmPackageGroupResponse) GetDescByLang() interface{}` +`func (o *RpmPackageGroupResponse) GetDescByLang() map[string]interface{}` GetDescByLang returns the DescByLang field if non-nil, zero value otherwise. ### GetDescByLangOk -`func (o *RpmPackageGroupResponse) GetDescByLangOk() (*interface{}, bool)` +`func (o *RpmPackageGroupResponse) GetDescByLangOk() (*map[string]interface{}, bool)` GetDescByLangOk returns a tuple with the DescByLang field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescByLang -`func (o *RpmPackageGroupResponse) SetDescByLang(v interface{})` +`func (o *RpmPackageGroupResponse) SetDescByLang(v map[string]interface{})` SetDescByLang sets DescByLang field to given value. @@ -366,20 +366,20 @@ SetDescByLang sets DescByLang field to given value. UnsetDescByLang ensures that no value is present for DescByLang, not even an explicit nil ### GetNameByLang -`func (o *RpmPackageGroupResponse) GetNameByLang() interface{}` +`func (o *RpmPackageGroupResponse) GetNameByLang() map[string]interface{}` GetNameByLang returns the NameByLang field if non-nil, zero value otherwise. ### GetNameByLangOk -`func (o *RpmPackageGroupResponse) GetNameByLangOk() (*interface{}, bool)` +`func (o *RpmPackageGroupResponse) GetNameByLangOk() (*map[string]interface{}, bool)` GetNameByLangOk returns a tuple with the NameByLang field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNameByLang -`func (o *RpmPackageGroupResponse) SetNameByLang(v interface{})` +`func (o *RpmPackageGroupResponse) SetNameByLang(v map[string]interface{})` SetNameByLang sets NameByLang field to given value. diff --git a/release/docs/RpmPackageLangpacksResponse.md b/release/docs/RpmPackageLangpacksResponse.md index 5374d4a..67d1634 100644 --- a/release/docs/RpmPackageLangpacksResponse.md +++ b/release/docs/RpmPackageLangpacksResponse.md @@ -8,14 +8,14 @@ Name | Type | Description | Notes **Prn** | Pointer to **string** | The Pulp Resource Name (PRN). | [optional] [readonly] **PulpCreated** | Pointer to **time.Time** | Timestamp of creation. | [optional] [readonly] **PulpLastUpdated** | Pointer to **time.Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly] -**Matches** | **interface{}** | Langpacks matches. | +**Matches** | **map[string]interface{}** | Langpacks matches. | **Digest** | **NullableString** | Langpacks digest. | ## Methods ### NewRpmPackageLangpacksResponse -`func NewRpmPackageLangpacksResponse(matches interface{}, digest NullableString, ) *RpmPackageLangpacksResponse` +`func NewRpmPackageLangpacksResponse(matches map[string]interface{}, digest NullableString, ) *RpmPackageLangpacksResponse` NewRpmPackageLangpacksResponse instantiates a new RpmPackageLangpacksResponse object This constructor will assign default values to properties that have it defined, @@ -132,20 +132,20 @@ HasPulpLastUpdated returns a boolean if a field has been set. ### GetMatches -`func (o *RpmPackageLangpacksResponse) GetMatches() interface{}` +`func (o *RpmPackageLangpacksResponse) GetMatches() map[string]interface{}` GetMatches returns the Matches field if non-nil, zero value otherwise. ### GetMatchesOk -`func (o *RpmPackageLangpacksResponse) GetMatchesOk() (*interface{}, bool)` +`func (o *RpmPackageLangpacksResponse) GetMatchesOk() (*map[string]interface{}, bool)` GetMatchesOk returns a tuple with the Matches field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMatches -`func (o *RpmPackageLangpacksResponse) SetMatches(v interface{})` +`func (o *RpmPackageLangpacksResponse) SetMatches(v map[string]interface{})` SetMatches sets Matches field to given value. diff --git a/release/docs/RpmPackageResponse.md b/release/docs/RpmPackageResponse.md index d8df207..99eccef 100644 --- a/release/docs/RpmPackageResponse.md +++ b/release/docs/RpmPackageResponse.md @@ -25,16 +25,16 @@ Name | Type | Description | Notes **Summary** | Pointer to **string** | Short description of the packaged software | [optional] [readonly] **Description** | Pointer to **string** | In-depth description of the packaged software | [optional] [readonly] **Url** | Pointer to **string** | URL with more information about the packaged software | [optional] [readonly] -**Changelogs** | Pointer to **interface{}** | Changelogs that package contains | [optional] [readonly] [default to []] -**Files** | Pointer to **interface{}** | Files that package contains | [optional] [readonly] [default to []] -**Requires** | Pointer to **interface{}** | Capabilities the package requires | [optional] [readonly] [default to []] -**Provides** | Pointer to **interface{}** | Capabilities the package provides | [optional] [readonly] [default to []] -**Conflicts** | Pointer to **interface{}** | Capabilities the package conflicts | [optional] [readonly] [default to []] -**Obsoletes** | Pointer to **interface{}** | Capabilities the package obsoletes | [optional] [readonly] [default to []] -**Suggests** | Pointer to **interface{}** | Capabilities the package suggests | [optional] [readonly] [default to []] -**Enhances** | Pointer to **interface{}** | Capabilities the package enhances | [optional] [readonly] [default to []] -**Recommends** | Pointer to **interface{}** | Capabilities the package recommends | [optional] [readonly] [default to []] -**Supplements** | Pointer to **interface{}** | Capabilities the package supplements | [optional] [readonly] [default to []] +**Changelogs** | Pointer to **map[string]interface{}** | Changelogs that package contains | [optional] [readonly] +**Files** | Pointer to **map[string]interface{}** | Files that package contains | [optional] [readonly] +**Requires** | Pointer to **map[string]interface{}** | Capabilities the package requires | [optional] [readonly] +**Provides** | Pointer to **map[string]interface{}** | Capabilities the package provides | [optional] [readonly] +**Conflicts** | Pointer to **map[string]interface{}** | Capabilities the package conflicts | [optional] [readonly] +**Obsoletes** | Pointer to **map[string]interface{}** | Capabilities the package obsoletes | [optional] [readonly] +**Suggests** | Pointer to **map[string]interface{}** | Capabilities the package suggests | [optional] [readonly] +**Enhances** | Pointer to **map[string]interface{}** | Capabilities the package enhances | [optional] [readonly] +**Recommends** | Pointer to **map[string]interface{}** | Capabilities the package recommends | [optional] [readonly] +**Supplements** | Pointer to **map[string]interface{}** | Capabilities the package supplements | [optional] [readonly] **LocationBase** | Pointer to **string** | Base location of this package | [optional] [readonly] **LocationHref** | Pointer to **string** | Relative location of package to the repodata | [optional] [readonly] **RpmBuildhost** | Pointer to **string** | Hostname of the system that built the package | [optional] [readonly] @@ -598,20 +598,20 @@ HasUrl returns a boolean if a field has been set. ### GetChangelogs -`func (o *RpmPackageResponse) GetChangelogs() interface{}` +`func (o *RpmPackageResponse) GetChangelogs() map[string]interface{}` GetChangelogs returns the Changelogs field if non-nil, zero value otherwise. ### GetChangelogsOk -`func (o *RpmPackageResponse) GetChangelogsOk() (*interface{}, bool)` +`func (o *RpmPackageResponse) GetChangelogsOk() (*map[string]interface{}, bool)` GetChangelogsOk returns a tuple with the Changelogs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChangelogs -`func (o *RpmPackageResponse) SetChangelogs(v interface{})` +`func (o *RpmPackageResponse) SetChangelogs(v map[string]interface{})` SetChangelogs sets Changelogs field to given value. @@ -621,32 +621,22 @@ SetChangelogs sets Changelogs field to given value. HasChangelogs returns a boolean if a field has been set. -### SetChangelogsNil - -`func (o *RpmPackageResponse) SetChangelogsNil(b bool)` - - SetChangelogsNil sets the value for Changelogs to be an explicit nil - -### UnsetChangelogs -`func (o *RpmPackageResponse) UnsetChangelogs()` - -UnsetChangelogs ensures that no value is present for Changelogs, not even an explicit nil ### GetFiles -`func (o *RpmPackageResponse) GetFiles() interface{}` +`func (o *RpmPackageResponse) GetFiles() map[string]interface{}` GetFiles returns the Files field if non-nil, zero value otherwise. ### GetFilesOk -`func (o *RpmPackageResponse) GetFilesOk() (*interface{}, bool)` +`func (o *RpmPackageResponse) GetFilesOk() (*map[string]interface{}, bool)` GetFilesOk returns a tuple with the Files field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFiles -`func (o *RpmPackageResponse) SetFiles(v interface{})` +`func (o *RpmPackageResponse) SetFiles(v map[string]interface{})` SetFiles sets Files field to given value. @@ -656,32 +646,22 @@ SetFiles sets Files field to given value. HasFiles returns a boolean if a field has been set. -### SetFilesNil - -`func (o *RpmPackageResponse) SetFilesNil(b bool)` - - SetFilesNil sets the value for Files to be an explicit nil - -### UnsetFiles -`func (o *RpmPackageResponse) UnsetFiles()` - -UnsetFiles ensures that no value is present for Files, not even an explicit nil ### GetRequires -`func (o *RpmPackageResponse) GetRequires() interface{}` +`func (o *RpmPackageResponse) GetRequires() map[string]interface{}` GetRequires returns the Requires field if non-nil, zero value otherwise. ### GetRequiresOk -`func (o *RpmPackageResponse) GetRequiresOk() (*interface{}, bool)` +`func (o *RpmPackageResponse) GetRequiresOk() (*map[string]interface{}, bool)` GetRequiresOk returns a tuple with the Requires field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRequires -`func (o *RpmPackageResponse) SetRequires(v interface{})` +`func (o *RpmPackageResponse) SetRequires(v map[string]interface{})` SetRequires sets Requires field to given value. @@ -691,32 +671,22 @@ SetRequires sets Requires field to given value. HasRequires returns a boolean if a field has been set. -### SetRequiresNil - -`func (o *RpmPackageResponse) SetRequiresNil(b bool)` - - SetRequiresNil sets the value for Requires to be an explicit nil - -### UnsetRequires -`func (o *RpmPackageResponse) UnsetRequires()` - -UnsetRequires ensures that no value is present for Requires, not even an explicit nil ### GetProvides -`func (o *RpmPackageResponse) GetProvides() interface{}` +`func (o *RpmPackageResponse) GetProvides() map[string]interface{}` GetProvides returns the Provides field if non-nil, zero value otherwise. ### GetProvidesOk -`func (o *RpmPackageResponse) GetProvidesOk() (*interface{}, bool)` +`func (o *RpmPackageResponse) GetProvidesOk() (*map[string]interface{}, bool)` GetProvidesOk returns a tuple with the Provides field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProvides -`func (o *RpmPackageResponse) SetProvides(v interface{})` +`func (o *RpmPackageResponse) SetProvides(v map[string]interface{})` SetProvides sets Provides field to given value. @@ -726,32 +696,22 @@ SetProvides sets Provides field to given value. HasProvides returns a boolean if a field has been set. -### SetProvidesNil - -`func (o *RpmPackageResponse) SetProvidesNil(b bool)` - - SetProvidesNil sets the value for Provides to be an explicit nil - -### UnsetProvides -`func (o *RpmPackageResponse) UnsetProvides()` - -UnsetProvides ensures that no value is present for Provides, not even an explicit nil ### GetConflicts -`func (o *RpmPackageResponse) GetConflicts() interface{}` +`func (o *RpmPackageResponse) GetConflicts() map[string]interface{}` GetConflicts returns the Conflicts field if non-nil, zero value otherwise. ### GetConflictsOk -`func (o *RpmPackageResponse) GetConflictsOk() (*interface{}, bool)` +`func (o *RpmPackageResponse) GetConflictsOk() (*map[string]interface{}, bool)` GetConflictsOk returns a tuple with the Conflicts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetConflicts -`func (o *RpmPackageResponse) SetConflicts(v interface{})` +`func (o *RpmPackageResponse) SetConflicts(v map[string]interface{})` SetConflicts sets Conflicts field to given value. @@ -761,32 +721,22 @@ SetConflicts sets Conflicts field to given value. HasConflicts returns a boolean if a field has been set. -### SetConflictsNil - -`func (o *RpmPackageResponse) SetConflictsNil(b bool)` - - SetConflictsNil sets the value for Conflicts to be an explicit nil - -### UnsetConflicts -`func (o *RpmPackageResponse) UnsetConflicts()` - -UnsetConflicts ensures that no value is present for Conflicts, not even an explicit nil ### GetObsoletes -`func (o *RpmPackageResponse) GetObsoletes() interface{}` +`func (o *RpmPackageResponse) GetObsoletes() map[string]interface{}` GetObsoletes returns the Obsoletes field if non-nil, zero value otherwise. ### GetObsoletesOk -`func (o *RpmPackageResponse) GetObsoletesOk() (*interface{}, bool)` +`func (o *RpmPackageResponse) GetObsoletesOk() (*map[string]interface{}, bool)` GetObsoletesOk returns a tuple with the Obsoletes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetObsoletes -`func (o *RpmPackageResponse) SetObsoletes(v interface{})` +`func (o *RpmPackageResponse) SetObsoletes(v map[string]interface{})` SetObsoletes sets Obsoletes field to given value. @@ -796,32 +746,22 @@ SetObsoletes sets Obsoletes field to given value. HasObsoletes returns a boolean if a field has been set. -### SetObsoletesNil - -`func (o *RpmPackageResponse) SetObsoletesNil(b bool)` - - SetObsoletesNil sets the value for Obsoletes to be an explicit nil - -### UnsetObsoletes -`func (o *RpmPackageResponse) UnsetObsoletes()` - -UnsetObsoletes ensures that no value is present for Obsoletes, not even an explicit nil ### GetSuggests -`func (o *RpmPackageResponse) GetSuggests() interface{}` +`func (o *RpmPackageResponse) GetSuggests() map[string]interface{}` GetSuggests returns the Suggests field if non-nil, zero value otherwise. ### GetSuggestsOk -`func (o *RpmPackageResponse) GetSuggestsOk() (*interface{}, bool)` +`func (o *RpmPackageResponse) GetSuggestsOk() (*map[string]interface{}, bool)` GetSuggestsOk returns a tuple with the Suggests field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSuggests -`func (o *RpmPackageResponse) SetSuggests(v interface{})` +`func (o *RpmPackageResponse) SetSuggests(v map[string]interface{})` SetSuggests sets Suggests field to given value. @@ -831,32 +771,22 @@ SetSuggests sets Suggests field to given value. HasSuggests returns a boolean if a field has been set. -### SetSuggestsNil - -`func (o *RpmPackageResponse) SetSuggestsNil(b bool)` - - SetSuggestsNil sets the value for Suggests to be an explicit nil - -### UnsetSuggests -`func (o *RpmPackageResponse) UnsetSuggests()` - -UnsetSuggests ensures that no value is present for Suggests, not even an explicit nil ### GetEnhances -`func (o *RpmPackageResponse) GetEnhances() interface{}` +`func (o *RpmPackageResponse) GetEnhances() map[string]interface{}` GetEnhances returns the Enhances field if non-nil, zero value otherwise. ### GetEnhancesOk -`func (o *RpmPackageResponse) GetEnhancesOk() (*interface{}, bool)` +`func (o *RpmPackageResponse) GetEnhancesOk() (*map[string]interface{}, bool)` GetEnhancesOk returns a tuple with the Enhances field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEnhances -`func (o *RpmPackageResponse) SetEnhances(v interface{})` +`func (o *RpmPackageResponse) SetEnhances(v map[string]interface{})` SetEnhances sets Enhances field to given value. @@ -866,32 +796,22 @@ SetEnhances sets Enhances field to given value. HasEnhances returns a boolean if a field has been set. -### SetEnhancesNil - -`func (o *RpmPackageResponse) SetEnhancesNil(b bool)` - - SetEnhancesNil sets the value for Enhances to be an explicit nil - -### UnsetEnhances -`func (o *RpmPackageResponse) UnsetEnhances()` - -UnsetEnhances ensures that no value is present for Enhances, not even an explicit nil ### GetRecommends -`func (o *RpmPackageResponse) GetRecommends() interface{}` +`func (o *RpmPackageResponse) GetRecommends() map[string]interface{}` GetRecommends returns the Recommends field if non-nil, zero value otherwise. ### GetRecommendsOk -`func (o *RpmPackageResponse) GetRecommendsOk() (*interface{}, bool)` +`func (o *RpmPackageResponse) GetRecommendsOk() (*map[string]interface{}, bool)` GetRecommendsOk returns a tuple with the Recommends field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRecommends -`func (o *RpmPackageResponse) SetRecommends(v interface{})` +`func (o *RpmPackageResponse) SetRecommends(v map[string]interface{})` SetRecommends sets Recommends field to given value. @@ -901,32 +821,22 @@ SetRecommends sets Recommends field to given value. HasRecommends returns a boolean if a field has been set. -### SetRecommendsNil - -`func (o *RpmPackageResponse) SetRecommendsNil(b bool)` - - SetRecommendsNil sets the value for Recommends to be an explicit nil - -### UnsetRecommends -`func (o *RpmPackageResponse) UnsetRecommends()` - -UnsetRecommends ensures that no value is present for Recommends, not even an explicit nil ### GetSupplements -`func (o *RpmPackageResponse) GetSupplements() interface{}` +`func (o *RpmPackageResponse) GetSupplements() map[string]interface{}` GetSupplements returns the Supplements field if non-nil, zero value otherwise. ### GetSupplementsOk -`func (o *RpmPackageResponse) GetSupplementsOk() (*interface{}, bool)` +`func (o *RpmPackageResponse) GetSupplementsOk() (*map[string]interface{}, bool)` GetSupplementsOk returns a tuple with the Supplements field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSupplements -`func (o *RpmPackageResponse) SetSupplements(v interface{})` +`func (o *RpmPackageResponse) SetSupplements(v map[string]interface{})` SetSupplements sets Supplements field to given value. @@ -936,16 +846,6 @@ SetSupplements sets Supplements field to given value. HasSupplements returns a boolean if a field has been set. -### SetSupplementsNil - -`func (o *RpmPackageResponse) SetSupplementsNil(b bool)` - - SetSupplementsNil sets the value for Supplements to be an explicit nil - -### UnsetSupplements -`func (o *RpmPackageResponse) UnsetSupplements()` - -UnsetSupplements ensures that no value is present for Supplements, not even an explicit nil ### GetLocationBase `func (o *RpmPackageResponse) GetLocationBase() string` diff --git a/release/docs/RpmRpmPublication.md b/release/docs/RpmRpmPublication.md index 53cd187..1543dba 100644 --- a/release/docs/RpmRpmPublication.md +++ b/release/docs/RpmRpmPublication.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **PackageChecksumType** | Pointer to [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | DEPRECATED: The checksum type for packages.* `unknown` - unknown* `md5` - md5* `sha1` - sha1* `sha224` - sha224* `sha256` - sha256* `sha384` - sha384* `sha512` - sha512 | [optional] **Gpgcheck** | Pointer to **NullableInt64** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional] **RepoGpgcheck** | Pointer to **NullableInt64** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional] -**RepoConfig** | Pointer to **interface{}** | A JSON document describing config.repo file | [optional] +**RepoConfig** | Pointer to **map[string]interface{}** | A JSON document describing config.repo file | [optional] **CompressionType** | Pointer to [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files.* `zstd` - zstd* `gz` - gz | [optional] ## Methods @@ -230,20 +230,20 @@ HasRepoGpgcheck returns a boolean if a field has been set. UnsetRepoGpgcheck ensures that no value is present for RepoGpgcheck, not even an explicit nil ### GetRepoConfig -`func (o *RpmRpmPublication) GetRepoConfig() interface{}` +`func (o *RpmRpmPublication) GetRepoConfig() map[string]interface{}` GetRepoConfig returns the RepoConfig field if non-nil, zero value otherwise. ### GetRepoConfigOk -`func (o *RpmRpmPublication) GetRepoConfigOk() (*interface{}, bool)` +`func (o *RpmRpmPublication) GetRepoConfigOk() (*map[string]interface{}, bool)` GetRepoConfigOk returns a tuple with the RepoConfig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepoConfig -`func (o *RpmRpmPublication) SetRepoConfig(v interface{})` +`func (o *RpmRpmPublication) SetRepoConfig(v map[string]interface{})` SetRepoConfig sets RepoConfig field to given value. @@ -253,16 +253,6 @@ SetRepoConfig sets RepoConfig field to given value. HasRepoConfig returns a boolean if a field has been set. -### SetRepoConfigNil - -`func (o *RpmRpmPublication) SetRepoConfigNil(b bool)` - - SetRepoConfigNil sets the value for RepoConfig to be an explicit nil - -### UnsetRepoConfig -`func (o *RpmRpmPublication) UnsetRepoConfig()` - -UnsetRepoConfig ensures that no value is present for RepoConfig, not even an explicit nil ### GetCompressionType `func (o *RpmRpmPublication) GetCompressionType() CompressionTypeEnum` diff --git a/release/docs/RpmRpmPublicationResponse.md b/release/docs/RpmRpmPublicationResponse.md index ac8e542..58676d2 100644 --- a/release/docs/RpmRpmPublicationResponse.md +++ b/release/docs/RpmRpmPublicationResponse.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes **Gpgcheck** | Pointer to **NullableInt64** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional] **RepoGpgcheck** | Pointer to **NullableInt64** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional] **SqliteMetadata** | Pointer to **bool** | REMOVED: An option specifying whether Pulp should generate SQLite metadata. Not operation since pulp_rpm 3.25.0 release | [optional] [readonly] [default to false] -**RepoConfig** | Pointer to **interface{}** | A JSON document describing config.repo file | [optional] +**RepoConfig** | Pointer to **map[string]interface{}** | A JSON document describing config.repo file | [optional] **CompressionType** | Pointer to [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files.* `zstd` - zstd* `gz` - gz | [optional] ## Methods @@ -360,20 +360,20 @@ HasSqliteMetadata returns a boolean if a field has been set. ### GetRepoConfig -`func (o *RpmRpmPublicationResponse) GetRepoConfig() interface{}` +`func (o *RpmRpmPublicationResponse) GetRepoConfig() map[string]interface{}` GetRepoConfig returns the RepoConfig field if non-nil, zero value otherwise. ### GetRepoConfigOk -`func (o *RpmRpmPublicationResponse) GetRepoConfigOk() (*interface{}, bool)` +`func (o *RpmRpmPublicationResponse) GetRepoConfigOk() (*map[string]interface{}, bool)` GetRepoConfigOk returns a tuple with the RepoConfig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepoConfig -`func (o *RpmRpmPublicationResponse) SetRepoConfig(v interface{})` +`func (o *RpmRpmPublicationResponse) SetRepoConfig(v map[string]interface{})` SetRepoConfig sets RepoConfig field to given value. @@ -383,16 +383,6 @@ SetRepoConfig sets RepoConfig field to given value. HasRepoConfig returns a boolean if a field has been set. -### SetRepoConfigNil - -`func (o *RpmRpmPublicationResponse) SetRepoConfigNil(b bool)` - - SetRepoConfigNil sets the value for RepoConfig to be an explicit nil - -### UnsetRepoConfig -`func (o *RpmRpmPublicationResponse) UnsetRepoConfig()` - -UnsetRepoConfig ensures that no value is present for RepoConfig, not even an explicit nil ### GetCompressionType `func (o *RpmRpmPublicationResponse) GetCompressionType() CompressionTypeEnum` diff --git a/release/docs/RpmRpmRepository.md b/release/docs/RpmRpmRepository.md index 1d182cb..133a35d 100644 --- a/release/docs/RpmRpmRepository.md +++ b/release/docs/RpmRpmRepository.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes **PackageChecksumType** | Pointer to [**NullablePackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | DEPRECATED: use CHECKSUM_TYPE instead.* `unknown` - unknown* `md5` - md5* `sha1` - sha1* `sha224` - sha224* `sha256` - sha256* `sha384` - sha384* `sha512` - sha512 | [optional] **Gpgcheck** | Pointer to **NullableInt64** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional] **RepoGpgcheck** | Pointer to **NullableInt64** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional] -**RepoConfig** | Pointer to **interface{}** | A JSON document describing config.repo file | [optional] +**RepoConfig** | Pointer to **map[string]interface{}** | A JSON document describing config.repo file | [optional] **CompressionType** | Pointer to [**NullableCompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files.* `zstd` - zstd* `gz` - gz | [optional] ## Methods @@ -513,20 +513,20 @@ HasRepoGpgcheck returns a boolean if a field has been set. UnsetRepoGpgcheck ensures that no value is present for RepoGpgcheck, not even an explicit nil ### GetRepoConfig -`func (o *RpmRpmRepository) GetRepoConfig() interface{}` +`func (o *RpmRpmRepository) GetRepoConfig() map[string]interface{}` GetRepoConfig returns the RepoConfig field if non-nil, zero value otherwise. ### GetRepoConfigOk -`func (o *RpmRpmRepository) GetRepoConfigOk() (*interface{}, bool)` +`func (o *RpmRpmRepository) GetRepoConfigOk() (*map[string]interface{}, bool)` GetRepoConfigOk returns a tuple with the RepoConfig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepoConfig -`func (o *RpmRpmRepository) SetRepoConfig(v interface{})` +`func (o *RpmRpmRepository) SetRepoConfig(v map[string]interface{})` SetRepoConfig sets RepoConfig field to given value. @@ -536,16 +536,6 @@ SetRepoConfig sets RepoConfig field to given value. HasRepoConfig returns a boolean if a field has been set. -### SetRepoConfigNil - -`func (o *RpmRpmRepository) SetRepoConfigNil(b bool)` - - SetRepoConfigNil sets the value for RepoConfig to be an explicit nil - -### UnsetRepoConfig -`func (o *RpmRpmRepository) UnsetRepoConfig()` - -UnsetRepoConfig ensures that no value is present for RepoConfig, not even an explicit nil ### GetCompressionType `func (o *RpmRpmRepository) GetCompressionType() CompressionTypeEnum` diff --git a/release/docs/RpmRpmRepositoryResponse.md b/release/docs/RpmRpmRepositoryResponse.md index 90b73cb..bdaace2 100644 --- a/release/docs/RpmRpmRepositoryResponse.md +++ b/release/docs/RpmRpmRepositoryResponse.md @@ -26,7 +26,7 @@ Name | Type | Description | Notes **Gpgcheck** | Pointer to **NullableInt64** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional] **RepoGpgcheck** | Pointer to **NullableInt64** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional] **SqliteMetadata** | Pointer to **bool** | REMOVED: An option specifying whether Pulp should generate SQLite metadata. Not operation since pulp_rpm 3.25.0 release | [optional] [readonly] [default to false] -**RepoConfig** | Pointer to **interface{}** | A JSON document describing config.repo file | [optional] +**RepoConfig** | Pointer to **map[string]interface{}** | A JSON document describing config.repo file | [optional] **CompressionType** | Pointer to [**NullableCompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files.* `zstd` - zstd* `gz` - gz | [optional] ## Methods @@ -695,20 +695,20 @@ HasSqliteMetadata returns a boolean if a field has been set. ### GetRepoConfig -`func (o *RpmRpmRepositoryResponse) GetRepoConfig() interface{}` +`func (o *RpmRpmRepositoryResponse) GetRepoConfig() map[string]interface{}` GetRepoConfig returns the RepoConfig field if non-nil, zero value otherwise. ### GetRepoConfigOk -`func (o *RpmRpmRepositoryResponse) GetRepoConfigOk() (*interface{}, bool)` +`func (o *RpmRpmRepositoryResponse) GetRepoConfigOk() (*map[string]interface{}, bool)` GetRepoConfigOk returns a tuple with the RepoConfig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepoConfig -`func (o *RpmRpmRepositoryResponse) SetRepoConfig(v interface{})` +`func (o *RpmRpmRepositoryResponse) SetRepoConfig(v map[string]interface{})` SetRepoConfig sets RepoConfig field to given value. @@ -718,16 +718,6 @@ SetRepoConfig sets RepoConfig field to given value. HasRepoConfig returns a boolean if a field has been set. -### SetRepoConfigNil - -`func (o *RpmRpmRepositoryResponse) SetRepoConfigNil(b bool)` - - SetRepoConfigNil sets the value for RepoConfig to be an explicit nil - -### UnsetRepoConfig -`func (o *RpmRpmRepositoryResponse) UnsetRepoConfig()` - -UnsetRepoConfig ensures that no value is present for RepoConfig, not even an explicit nil ### GetCompressionType `func (o *RpmRpmRepositoryResponse) GetCompressionType() CompressionTypeEnum` diff --git a/release/docs/RpmUpdateCollection.md b/release/docs/RpmUpdateCollection.md index c0f3f45..b862f27 100644 --- a/release/docs/RpmUpdateCollection.md +++ b/release/docs/RpmUpdateCollection.md @@ -6,13 +6,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **NullableString** | Collection name. | **Shortname** | **NullableString** | Collection short name. | -**Module** | **interface{}** | Collection modular NSVCA. | +**Module** | **map[string]interface{}** | Collection modular NSVCA. | ## Methods ### NewRpmUpdateCollection -`func NewRpmUpdateCollection(name NullableString, shortname NullableString, module interface{}, ) *RpmUpdateCollection` +`func NewRpmUpdateCollection(name NullableString, shortname NullableString, module map[string]interface{}, ) *RpmUpdateCollection` NewRpmUpdateCollection instantiates a new RpmUpdateCollection object This constructor will assign default values to properties that have it defined, @@ -89,20 +89,20 @@ SetShortname sets Shortname field to given value. UnsetShortname ensures that no value is present for Shortname, not even an explicit nil ### GetModule -`func (o *RpmUpdateCollection) GetModule() interface{}` +`func (o *RpmUpdateCollection) GetModule() map[string]interface{}` GetModule returns the Module field if non-nil, zero value otherwise. ### GetModuleOk -`func (o *RpmUpdateCollection) GetModuleOk() (*interface{}, bool)` +`func (o *RpmUpdateCollection) GetModuleOk() (*map[string]interface{}, bool)` GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModule -`func (o *RpmUpdateCollection) SetModule(v interface{})` +`func (o *RpmUpdateCollection) SetModule(v map[string]interface{})` SetModule sets Module field to given value. diff --git a/release/docs/RpmUpdateCollectionResponse.md b/release/docs/RpmUpdateCollectionResponse.md index 2e9b1bf..f2567d9 100644 --- a/release/docs/RpmUpdateCollectionResponse.md +++ b/release/docs/RpmUpdateCollectionResponse.md @@ -6,14 +6,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **NullableString** | Collection name. | **Shortname** | **NullableString** | Collection short name. | -**Module** | **interface{}** | Collection modular NSVCA. | +**Module** | **map[string]interface{}** | Collection modular NSVCA. | **Packages** | Pointer to **[]map[string]interface{}** | List of packages | [optional] [readonly] ## Methods ### NewRpmUpdateCollectionResponse -`func NewRpmUpdateCollectionResponse(name NullableString, shortname NullableString, module interface{}, ) *RpmUpdateCollectionResponse` +`func NewRpmUpdateCollectionResponse(name NullableString, shortname NullableString, module map[string]interface{}, ) *RpmUpdateCollectionResponse` NewRpmUpdateCollectionResponse instantiates a new RpmUpdateCollectionResponse object This constructor will assign default values to properties that have it defined, @@ -90,20 +90,20 @@ SetShortname sets Shortname field to given value. UnsetShortname ensures that no value is present for Shortname, not even an explicit nil ### GetModule -`func (o *RpmUpdateCollectionResponse) GetModule() interface{}` +`func (o *RpmUpdateCollectionResponse) GetModule() map[string]interface{}` GetModule returns the Module field if non-nil, zero value otherwise. ### GetModuleOk -`func (o *RpmUpdateCollectionResponse) GetModuleOk() (*interface{}, bool)` +`func (o *RpmUpdateCollectionResponse) GetModuleOk() (*map[string]interface{}, bool)` GetModuleOk returns a tuple with the Module field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModule -`func (o *RpmUpdateCollectionResponse) SetModule(v interface{})` +`func (o *RpmUpdateCollectionResponse) SetModule(v map[string]interface{})` SetModule sets Module field to given value. diff --git a/release/model_artifact_distribution_response.go b/release/model_artifact_distribution_response.go index 3eef45e..ec07659 100644 --- a/release/model_artifact_distribution_response.go +++ b/release/model_artifact_distribution_response.go @@ -22,26 +22,26 @@ var _ MappedNullable = &ArtifactDistributionResponse{} // ArtifactDistributionResponse A serializer for ArtifactDistribution. type ArtifactDistributionResponse struct { - PulpLabels *map[string]string `json:"pulp_labels,omitempty"` - // Timestamp of creation. - PulpCreated *time.Time `json:"pulp_created,omitempty"` - // Whether this distribution should be shown in the content app. - Hidden *bool `json:"hidden,omitempty"` + PulpHref *string `json:"pulp_href,omitempty"` + // The Pulp Resource Name (PRN). + Prn *string `json:"prn,omitempty"` // Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. NoContentChangeSince *string `json:"no_content_change_since,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"` - // Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. - PulpLastUpdated *time.Time `json:"pulp_last_updated,omitempty"` + // A unique name. Ex, `rawhide` and `stable`. + Name string `json:"name"` // 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"` + // Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. + PulpLastUpdated *time.Time `json:"pulp_last_updated,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"` + 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"` - // A unique name. Ex, `rawhide` and `stable`. - Name string `json:"name"` - // The Pulp Resource Name (PRN). - Prn *string `json:"prn,omitempty"` - PulpHref *string `json:"pulp_href,omitempty"` + // Timestamp of creation. + PulpCreated *time.Time `json:"pulp_created,omitempty"` AdditionalProperties map[string]interface{} } @@ -51,12 +51,12 @@ type _ArtifactDistributionResponse ArtifactDistributionResponse // 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 NewArtifactDistributionResponse(basePath string, name string) *ArtifactDistributionResponse { +func NewArtifactDistributionResponse(name string, basePath string) *ArtifactDistributionResponse { this := ArtifactDistributionResponse{} + this.Name = name var hidden bool = false this.Hidden = &hidden this.BasePath = basePath - this.Name = name return &this } @@ -70,100 +70,68 @@ func NewArtifactDistributionResponseWithDefaults() *ArtifactDistributionResponse return &this } -// GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. -func (o *ArtifactDistributionResponse) 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 *ArtifactDistributionResponse) 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 *ArtifactDistributionResponse) 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 *ArtifactDistributionResponse) SetPulpLabels(v map[string]string) { - o.PulpLabels = &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 +// GetPulpHref returns the PulpHref field value if set, zero value otherwise. +func (o *ArtifactDistributionResponse) GetPulpHref() string { + if o == nil || IsNil(o.PulpHref) { + var ret string return ret } - return *o.PulpCreated + return *o.PulpHref } -// GetPulpCreatedOk returns a tuple with the PulpCreated field value if set, nil otherwise +// GetPulpHrefOk returns a tuple with the PulpHref 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) GetPulpHrefOk() (*string, bool) { + if o == nil || IsNil(o.PulpHref) { return nil, false } - return o.PulpCreated, true + return o.PulpHref, true } -// HasPulpCreated returns a boolean if a field has been set. -func (o *ArtifactDistributionResponse) HasPulpCreated() bool { - if o != nil && !IsNil(o.PulpCreated) { +// HasPulpHref returns a boolean if a field has been set. +func (o *ArtifactDistributionResponse) HasPulpHref() bool { + if o != nil && !IsNil(o.PulpHref) { 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 +// SetPulpHref gets a reference to the given string and assigns it to the PulpHref field. +func (o *ArtifactDistributionResponse) SetPulpHref(v string) { + o.PulpHref = &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 +// GetPrn returns the Prn field value if set, zero value otherwise. +func (o *ArtifactDistributionResponse) GetPrn() string { + if o == nil || IsNil(o.Prn) { + var ret string return ret } - return *o.Hidden + return *o.Prn } -// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// GetPrnOk returns a tuple with the Prn 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) { +func (o *ArtifactDistributionResponse) GetPrnOk() (*string, bool) { + if o == nil || IsNil(o.Prn) { return nil, false } - return o.Hidden, true + return o.Prn, true } -// HasHidden returns a boolean if a field has been set. -func (o *ArtifactDistributionResponse) HasHidden() bool { - if o != nil && !IsNil(o.Hidden) { +// HasPrn returns a boolean if a field has been set. +func (o *ArtifactDistributionResponse) HasPrn() bool { + if o != nil && !IsNil(o.Prn) { 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 +// SetPrn gets a reference to the given string and assigns it to the Prn field. +func (o *ArtifactDistributionResponse) SetPrn(v string) { + o.Prn = &v } // GetNoContentChangeSince returns the NoContentChangeSince field value if set, zero value otherwise. @@ -198,60 +166,28 @@ func (o *ArtifactDistributionResponse) SetNoContentChangeSince(v string) { o.NoContentChangeSince = &v } -// GetBasePath returns the BasePath field value -func (o *ArtifactDistributionResponse) GetBasePath() string { +// GetName returns the Name field value +func (o *ArtifactDistributionResponse) GetName() string { if o == nil { var ret string return ret } - return o.BasePath + return o.Name } -// GetBasePathOk returns a tuple with the BasePath field value +// GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. -func (o *ArtifactDistributionResponse) GetBasePathOk() (*string, bool) { +func (o *ArtifactDistributionResponse) GetNameOk() (*string, bool) { if o == nil { return nil, false } - return &o.BasePath, true -} - -// SetBasePath sets field value -func (o *ArtifactDistributionResponse) SetBasePath(v string) { - o.BasePath = v -} - -// GetPulpLastUpdated returns the PulpLastUpdated field value if set, zero value otherwise. -func (o *ArtifactDistributionResponse) GetPulpLastUpdated() time.Time { - if o == nil || IsNil(o.PulpLastUpdated) { - var ret time.Time - return ret - } - return *o.PulpLastUpdated -} - -// 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 *ArtifactDistributionResponse) 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 *ArtifactDistributionResponse) HasPulpLastUpdated() bool { - if o != nil && !IsNil(o.PulpLastUpdated) { - return true - } - - return false + return &o.Name, true } -// SetPulpLastUpdated gets a reference to the given time.Time and assigns it to the PulpLastUpdated field. -func (o *ArtifactDistributionResponse) SetPulpLastUpdated(v time.Time) { - o.PulpLastUpdated = &v +// SetName sets field value +func (o *ArtifactDistributionResponse) SetName(v string) { + o.Name = v } // GetContentGuard returns the ContentGuard field value if set, zero value otherwise (both if not set or set to explicit null). @@ -296,124 +232,188 @@ func (o *ArtifactDistributionResponse) UnsetContentGuard() { o.ContentGuard.Unset() } -// 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 +// 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.BaseUrl + return *o.Hidden } -// GetBaseUrlOk returns a tuple with the BaseUrl field value if set, nil otherwise +// 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) GetBaseUrlOk() (*string, bool) { - if o == nil || IsNil(o.BaseUrl) { +func (o *ArtifactDistributionResponse) GetHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.Hidden) { return nil, false } - return o.BaseUrl, true + return o.Hidden, true } -// HasBaseUrl returns a boolean if a field has been set. -func (o *ArtifactDistributionResponse) HasBaseUrl() bool { - if o != nil && !IsNil(o.BaseUrl) { +// 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 } -// SetBaseUrl gets a reference to the given string and assigns it to the BaseUrl field. -func (o *ArtifactDistributionResponse) SetBaseUrl(v string) { - o.BaseUrl = &v +// SetHidden gets a reference to the given bool and assigns it to the Hidden field. +func (o *ArtifactDistributionResponse) SetHidden(v bool) { + o.Hidden = &v } -// GetName returns the Name field value -func (o *ArtifactDistributionResponse) GetName() string { +// GetPulpLastUpdated returns the PulpLastUpdated field value if set, zero value otherwise. +func (o *ArtifactDistributionResponse) GetPulpLastUpdated() time.Time { + if o == nil || IsNil(o.PulpLastUpdated) { + var ret time.Time + return ret + } + return *o.PulpLastUpdated +} + +// 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 *ArtifactDistributionResponse) 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 *ArtifactDistributionResponse) 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 *ArtifactDistributionResponse) SetPulpLastUpdated(v time.Time) { + o.PulpLastUpdated = &v +} + +// GetBasePath returns the BasePath field value +func (o *ArtifactDistributionResponse) GetBasePath() string { if o == nil { var ret string return ret } - return o.Name + return o.BasePath } -// GetNameOk returns a tuple with the Name field value +// GetBasePathOk returns a tuple with the BasePath field value // and a boolean to check if the value has been set. -func (o *ArtifactDistributionResponse) GetNameOk() (*string, bool) { +func (o *ArtifactDistributionResponse) GetBasePathOk() (*string, bool) { if o == nil { return nil, false } - return &o.Name, true + return &o.BasePath, true } -// SetName sets field value -func (o *ArtifactDistributionResponse) SetName(v string) { - o.Name = v +// SetBasePath sets field value +func (o *ArtifactDistributionResponse) SetBasePath(v string) { + o.BasePath = v } -// GetPrn returns the Prn field value if set, zero value otherwise. -func (o *ArtifactDistributionResponse) GetPrn() string { - if o == nil || IsNil(o.Prn) { - var ret string +// GetPulpLabels returns the PulpLabels field value if set, zero value otherwise. +func (o *ArtifactDistributionResponse) GetPulpLabels() map[string]string { + if o == nil || IsNil(o.PulpLabels) { + var ret map[string]string return ret } - return *o.Prn + return *o.PulpLabels } -// GetPrnOk returns a tuple with the Prn 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 *ArtifactDistributionResponse) GetPrnOk() (*string, bool) { - if o == nil || IsNil(o.Prn) { +func (o *ArtifactDistributionResponse) GetPulpLabelsOk() (*map[string]string, bool) { + if o == nil || IsNil(o.PulpLabels) { return nil, false } - return o.Prn, true + return o.PulpLabels, true } -// HasPrn returns a boolean if a field has been set. -func (o *ArtifactDistributionResponse) HasPrn() bool { - if o != nil && !IsNil(o.Prn) { +// HasPulpLabels returns a boolean if a field has been set. +func (o *ArtifactDistributionResponse) HasPulpLabels() bool { + if o != nil && !IsNil(o.PulpLabels) { return true } return false } -// SetPrn gets a reference to the given string and assigns it to the Prn field. -func (o *ArtifactDistributionResponse) SetPrn(v string) { - o.Prn = &v +// SetPulpLabels gets a reference to the given map[string]string and assigns it to the PulpLabels field. +func (o *ArtifactDistributionResponse) SetPulpLabels(v map[string]string) { + o.PulpLabels = &v } -// GetPulpHref returns the PulpHref field value if set, zero value otherwise. -func (o *ArtifactDistributionResponse) GetPulpHref() string { - if o == nil || IsNil(o.PulpHref) { +// 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.PulpHref + return *o.BaseUrl } -// GetPulpHrefOk returns a tuple with the PulpHref 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) GetPulpHrefOk() (*string, bool) { - if o == nil || IsNil(o.PulpHref) { +func (o *ArtifactDistributionResponse) GetBaseUrlOk() (*string, bool) { + if o == nil || IsNil(o.BaseUrl) { return nil, false } - return o.PulpHref, true + return o.BaseUrl, true } -// HasPulpHref returns a boolean if a field has been set. -func (o *ArtifactDistributionResponse) HasPulpHref() bool { - if o != nil && !IsNil(o.PulpHref) { +// 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 } -// SetPulpHref gets a reference to the given string and assigns it to the PulpHref field. -func (o *ArtifactDistributionResponse) SetPulpHref(v string) { - o.PulpHref = &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 +} + +// 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 } func (o ArtifactDistributionResponse) MarshalJSON() ([]byte, error) { @@ -426,34 +426,34 @@ func (o ArtifactDistributionResponse) MarshalJSON() ([]byte, error) { func (o ArtifactDistributionResponse) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - if !IsNil(o.PulpLabels) { - toSerialize["pulp_labels"] = o.PulpLabels - } - if !IsNil(o.PulpCreated) { - toSerialize["pulp_created"] = o.PulpCreated + if !IsNil(o.PulpHref) { + toSerialize["pulp_href"] = o.PulpHref } - if !IsNil(o.Hidden) { - toSerialize["hidden"] = o.Hidden + if !IsNil(o.Prn) { + toSerialize["prn"] = o.Prn } if !IsNil(o.NoContentChangeSince) { toSerialize["no_content_change_since"] = o.NoContentChangeSince } - toSerialize["base_path"] = o.BasePath + toSerialize["name"] = o.Name + if o.ContentGuard.IsSet() { + toSerialize["content_guard"] = o.ContentGuard.Get() + } + if !IsNil(o.Hidden) { + toSerialize["hidden"] = o.Hidden + } if !IsNil(o.PulpLastUpdated) { toSerialize["pulp_last_updated"] = o.PulpLastUpdated } - if o.ContentGuard.IsSet() { - toSerialize["content_guard"] = o.ContentGuard.Get() + toSerialize["base_path"] = o.BasePath + if !IsNil(o.PulpLabels) { + toSerialize["pulp_labels"] = o.PulpLabels } if !IsNil(o.BaseUrl) { toSerialize["base_url"] = o.BaseUrl } - toSerialize["name"] = o.Name - if !IsNil(o.Prn) { - toSerialize["prn"] = o.Prn - } - if !IsNil(o.PulpHref) { - toSerialize["pulp_href"] = o.PulpHref + if !IsNil(o.PulpCreated) { + toSerialize["pulp_created"] = o.PulpCreated } for key, value := range o.AdditionalProperties { @@ -468,8 +468,8 @@ func (o *ArtifactDistributionResponse) UnmarshalJSON(data []byte) (err error) { // by unmarshalling the object into a generic map with string keys and checking // that every required field exists as a key in the generic map. requiredProperties := []string{ - "base_path", "name", + "base_path", } allProperties := make(map[string]interface{}) @@ -499,17 +499,17 @@ func (o *ArtifactDistributionResponse) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { - delete(additionalProperties, "pulp_labels") - delete(additionalProperties, "pulp_created") - delete(additionalProperties, "hidden") + delete(additionalProperties, "pulp_href") + delete(additionalProperties, "prn") delete(additionalProperties, "no_content_change_since") - delete(additionalProperties, "base_path") - delete(additionalProperties, "pulp_last_updated") + delete(additionalProperties, "name") delete(additionalProperties, "content_guard") + delete(additionalProperties, "hidden") + delete(additionalProperties, "pulp_last_updated") + delete(additionalProperties, "base_path") + delete(additionalProperties, "pulp_labels") delete(additionalProperties, "base_url") - delete(additionalProperties, "name") - delete(additionalProperties, "prn") - delete(additionalProperties, "pulp_href") + delete(additionalProperties, "pulp_created") o.AdditionalProperties = additionalProperties } diff --git a/release/model_copy.go b/release/model_copy.go index 09e9915..b2e1007 100644 --- a/release/model_copy.go +++ b/release/model_copy.go @@ -22,7 +22,7 @@ var _ MappedNullable = &Copy{} // Copy A serializer for Content Copy API. type Copy struct { // A JSON document describing sources, destinations, and content to be copied - Config interface{} `json:"config"` + Config map[string]interface{} `json:"config"` // Also copy dependencies of the content being copied. DependencySolving *bool `json:"dependency_solving,omitempty"` AdditionalProperties map[string]interface{} @@ -34,7 +34,7 @@ type _Copy Copy // 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 NewCopy(config interface{}) *Copy { +func NewCopy(config map[string]interface{}) *Copy { this := Copy{} this.Config = config var dependencySolving bool = true @@ -53,10 +53,9 @@ func NewCopyWithDefaults() *Copy { } // GetConfig returns the Config field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *Copy) GetConfig() interface{} { +func (o *Copy) GetConfig() map[string]interface{} { if o == nil { - var ret interface{} + var ret map[string]interface{} return ret } @@ -65,16 +64,15 @@ func (o *Copy) GetConfig() interface{} { // GetConfigOk returns a tuple with the Config 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 *Copy) GetConfigOk() (*interface{}, bool) { - if o == nil || IsNil(o.Config) { - return nil, false +func (o *Copy) GetConfigOk() (map[string]interface{}, bool) { + if o == nil { + return map[string]interface{}{}, false } - return &o.Config, true + return o.Config, true } // SetConfig sets field value -func (o *Copy) SetConfig(v interface{}) { +func (o *Copy) SetConfig(v map[string]interface{}) { o.Config = v } @@ -120,9 +118,7 @@ func (o Copy) MarshalJSON() ([]byte, error) { func (o Copy) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - if o.Config != nil { - toSerialize["config"] = o.Config - } + toSerialize["config"] = o.Config if !IsNil(o.DependencySolving) { toSerialize["dependency_solving"] = o.DependencySolving } diff --git a/release/model_filesystem_export_response.go b/release/model_filesystem_export_response.go index 8185679..a6a779f 100644 --- a/release/model_filesystem_export_response.go +++ b/release/model_filesystem_export_response.go @@ -33,7 +33,7 @@ type FilesystemExportResponse struct { // Resources that were exported. ExportedResources []string `json:"exported_resources,omitempty"` // Any additional parameters that were used to create the export. - Params interface{} `json:"params,omitempty"` + Params map[string]interface{} `json:"params,omitempty"` AdditionalProperties map[string]interface{} } @@ -258,10 +258,10 @@ func (o *FilesystemExportResponse) SetExportedResources(v []string) { o.ExportedResources = v } -// GetParams returns the Params field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *FilesystemExportResponse) GetParams() interface{} { - if o == nil { - var ret interface{} +// GetParams returns the Params field value if set, zero value otherwise. +func (o *FilesystemExportResponse) GetParams() map[string]interface{} { + if o == nil || IsNil(o.Params) { + var ret map[string]interface{} return ret } return o.Params @@ -269,12 +269,11 @@ func (o *FilesystemExportResponse) GetParams() interface{} { // GetParamsOk returns a tuple with the Params 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 *FilesystemExportResponse) GetParamsOk() (*interface{}, bool) { +func (o *FilesystemExportResponse) GetParamsOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.Params) { - return nil, false + return map[string]interface{}{}, false } - return &o.Params, true + return o.Params, true } // HasParams returns a boolean if a field has been set. @@ -286,8 +285,8 @@ func (o *FilesystemExportResponse) HasParams() bool { return false } -// SetParams gets a reference to the given interface{} and assigns it to the Params field. -func (o *FilesystemExportResponse) SetParams(v interface{}) { +// SetParams gets a reference to the given map[string]interface{} and assigns it to the Params field. +func (o *FilesystemExportResponse) SetParams(v map[string]interface{}) { o.Params = v } @@ -319,7 +318,7 @@ func (o FilesystemExportResponse) ToMap() (map[string]interface{}, error) { if !IsNil(o.ExportedResources) { toSerialize["exported_resources"] = o.ExportedResources } - if o.Params != nil { + if !IsNil(o.Params) { toSerialize["params"] = o.Params } diff --git a/release/model_import_response.go b/release/model_import_response.go index fa53832..bd57f29 100644 --- a/release/model_import_response.go +++ b/release/model_import_response.go @@ -32,7 +32,7 @@ type ImportResponse struct { // A URI of the Task that ran the Import. Task string `json:"task"` // Any parameters that were used to create the import. - Params interface{} `json:"params"` + Params map[string]interface{} `json:"params"` AdditionalProperties map[string]interface{} } @@ -42,7 +42,7 @@ type _ImportResponse ImportResponse // 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 NewImportResponse(task string, params interface{}) *ImportResponse { +func NewImportResponse(task string, params map[string]interface{}) *ImportResponse { this := ImportResponse{} this.Task = task this.Params = params @@ -210,10 +210,9 @@ func (o *ImportResponse) SetTask(v string) { } // GetParams returns the Params field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *ImportResponse) GetParams() interface{} { +func (o *ImportResponse) GetParams() map[string]interface{} { if o == nil { - var ret interface{} + var ret map[string]interface{} return ret } @@ -222,16 +221,15 @@ func (o *ImportResponse) GetParams() interface{} { // GetParamsOk returns a tuple with the Params 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 *ImportResponse) GetParamsOk() (*interface{}, bool) { - if o == nil || IsNil(o.Params) { - return nil, false +func (o *ImportResponse) GetParamsOk() (map[string]interface{}, bool) { + if o == nil { + return map[string]interface{}{}, false } - return &o.Params, true + return o.Params, true } // SetParams sets field value -func (o *ImportResponse) SetParams(v interface{}) { +func (o *ImportResponse) SetParams(v map[string]interface{}) { o.Params = v } @@ -258,9 +256,7 @@ func (o ImportResponse) ToMap() (map[string]interface{}, error) { toSerialize["pulp_last_updated"] = o.PulpLastUpdated } toSerialize["task"] = o.Task - if o.Params != nil { - toSerialize["params"] = o.Params - } + toSerialize["params"] = o.Params for key, value := range o.AdditionalProperties { toSerialize[key] = value diff --git a/release/model_package_metadata_response.go b/release/model_package_metadata_response.go index 8b222be..1ccbfb9 100644 --- a/release/model_package_metadata_response.go +++ b/release/model_package_metadata_response.go @@ -24,10 +24,10 @@ type PackageMetadataResponse struct { // Cache value from last PyPI sync LastSerial int64 `json:"last_serial"` // Core metadata of the package - Info interface{} `json:"info"` + Info map[string]interface{} `json:"info"` // List of all the releases of the package - Releases interface{} `json:"releases"` - Urls interface{} `json:"urls"` + Releases map[string]interface{} `json:"releases"` + Urls map[string]interface{} `json:"urls"` AdditionalProperties map[string]interface{} } @@ -37,7 +37,7 @@ type _PackageMetadataResponse PackageMetadataResponse // 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 NewPackageMetadataResponse(lastSerial int64, info interface{}, releases interface{}, urls interface{}) *PackageMetadataResponse { +func NewPackageMetadataResponse(lastSerial int64, info map[string]interface{}, releases map[string]interface{}, urls map[string]interface{}) *PackageMetadataResponse { this := PackageMetadataResponse{} this.LastSerial = lastSerial this.Info = info @@ -79,10 +79,9 @@ func (o *PackageMetadataResponse) SetLastSerial(v int64) { } // GetInfo returns the Info field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *PackageMetadataResponse) GetInfo() interface{} { +func (o *PackageMetadataResponse) GetInfo() map[string]interface{} { if o == nil { - var ret interface{} + var ret map[string]interface{} return ret } @@ -91,24 +90,22 @@ func (o *PackageMetadataResponse) GetInfo() interface{} { // GetInfoOk returns a tuple with the Info 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 *PackageMetadataResponse) GetInfoOk() (*interface{}, bool) { - if o == nil || IsNil(o.Info) { - return nil, false +func (o *PackageMetadataResponse) GetInfoOk() (map[string]interface{}, bool) { + if o == nil { + return map[string]interface{}{}, false } - return &o.Info, true + return o.Info, true } // SetInfo sets field value -func (o *PackageMetadataResponse) SetInfo(v interface{}) { +func (o *PackageMetadataResponse) SetInfo(v map[string]interface{}) { o.Info = v } // GetReleases returns the Releases field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *PackageMetadataResponse) GetReleases() interface{} { +func (o *PackageMetadataResponse) GetReleases() map[string]interface{} { if o == nil { - var ret interface{} + var ret map[string]interface{} return ret } @@ -117,24 +114,22 @@ func (o *PackageMetadataResponse) GetReleases() interface{} { // GetReleasesOk returns a tuple with the Releases 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 *PackageMetadataResponse) GetReleasesOk() (*interface{}, bool) { - if o == nil || IsNil(o.Releases) { - return nil, false +func (o *PackageMetadataResponse) GetReleasesOk() (map[string]interface{}, bool) { + if o == nil { + return map[string]interface{}{}, false } - return &o.Releases, true + return o.Releases, true } // SetReleases sets field value -func (o *PackageMetadataResponse) SetReleases(v interface{}) { +func (o *PackageMetadataResponse) SetReleases(v map[string]interface{}) { o.Releases = v } // GetUrls returns the Urls field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *PackageMetadataResponse) GetUrls() interface{} { +func (o *PackageMetadataResponse) GetUrls() map[string]interface{} { if o == nil { - var ret interface{} + var ret map[string]interface{} return ret } @@ -143,16 +138,15 @@ func (o *PackageMetadataResponse) GetUrls() interface{} { // GetUrlsOk returns a tuple with the Urls 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 *PackageMetadataResponse) GetUrlsOk() (*interface{}, bool) { - if o == nil || IsNil(o.Urls) { - return nil, false +func (o *PackageMetadataResponse) GetUrlsOk() (map[string]interface{}, bool) { + if o == nil { + return map[string]interface{}{}, false } - return &o.Urls, true + return o.Urls, true } // SetUrls sets field value -func (o *PackageMetadataResponse) SetUrls(v interface{}) { +func (o *PackageMetadataResponse) SetUrls(v map[string]interface{}) { o.Urls = v } @@ -167,15 +161,9 @@ func (o PackageMetadataResponse) MarshalJSON() ([]byte, error) { func (o PackageMetadataResponse) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["last_serial"] = o.LastSerial - if o.Info != nil { - toSerialize["info"] = o.Info - } - if o.Releases != nil { - toSerialize["releases"] = o.Releases - } - if o.Urls != nil { - toSerialize["urls"] = o.Urls - } + toSerialize["info"] = o.Info + toSerialize["releases"] = o.Releases + toSerialize["urls"] = o.Urls for key, value := range o.AdditionalProperties { toSerialize[key] = value diff --git a/release/model_patchedrpm_rpm_repository.go b/release/model_patchedrpm_rpm_repository.go index d916a4f..993d84e 100644 --- a/release/model_patchedrpm_rpm_repository.go +++ b/release/model_patchedrpm_rpm_repository.go @@ -50,7 +50,7 @@ type PatchedrpmRpmRepository struct { // DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. RepoGpgcheck NullableInt64 `json:"repo_gpgcheck,omitempty"` // A JSON document describing config.repo file - RepoConfig interface{} `json:"repo_config,omitempty"` + RepoConfig map[string]interface{} `json:"repo_config,omitempty"` // The compression type to use for metadata files.* `zstd` - zstd* `gz` - gz CompressionType NullableCompressionTypeEnum `json:"compression_type,omitempty"` AdditionalProperties map[string]interface{} @@ -663,10 +663,10 @@ func (o *PatchedrpmRpmRepository) UnsetRepoGpgcheck() { o.RepoGpgcheck.Unset() } -// GetRepoConfig returns the RepoConfig field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PatchedrpmRpmRepository) GetRepoConfig() interface{} { - if o == nil { - var ret interface{} +// GetRepoConfig returns the RepoConfig field value if set, zero value otherwise. +func (o *PatchedrpmRpmRepository) GetRepoConfig() map[string]interface{} { + if o == nil || IsNil(o.RepoConfig) { + var ret map[string]interface{} return ret } return o.RepoConfig @@ -674,12 +674,11 @@ func (o *PatchedrpmRpmRepository) GetRepoConfig() interface{} { // GetRepoConfigOk returns a tuple with the RepoConfig 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 *PatchedrpmRpmRepository) GetRepoConfigOk() (*interface{}, bool) { +func (o *PatchedrpmRpmRepository) GetRepoConfigOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.RepoConfig) { - return nil, false + return map[string]interface{}{}, false } - return &o.RepoConfig, true + return o.RepoConfig, true } // HasRepoConfig returns a boolean if a field has been set. @@ -691,8 +690,8 @@ func (o *PatchedrpmRpmRepository) HasRepoConfig() bool { return false } -// SetRepoConfig gets a reference to the given interface{} and assigns it to the RepoConfig field. -func (o *PatchedrpmRpmRepository) SetRepoConfig(v interface{}) { +// SetRepoConfig gets a reference to the given map[string]interface{} and assigns it to the RepoConfig field. +func (o *PatchedrpmRpmRepository) SetRepoConfig(v map[string]interface{}) { o.RepoConfig = v } @@ -793,7 +792,7 @@ func (o PatchedrpmRpmRepository) ToMap() (map[string]interface{}, error) { if o.RepoGpgcheck.IsSet() { toSerialize["repo_gpgcheck"] = o.RepoGpgcheck.Get() } - if o.RepoConfig != nil { + if !IsNil(o.RepoConfig) { toSerialize["repo_config"] = o.RepoConfig } if o.CompressionType.IsSet() { diff --git a/release/model_pulp_export_response.go b/release/model_pulp_export_response.go index 2c3fb52..d1088d8 100644 --- a/release/model_pulp_export_response.go +++ b/release/model_pulp_export_response.go @@ -33,11 +33,11 @@ type PulpExportResponse struct { // Resources that were exported. ExportedResources []string `json:"exported_resources,omitempty"` // Any additional parameters that were used to create the export. - Params interface{} `json:"params,omitempty"` + Params map[string]interface{} `json:"params,omitempty"` // Dictionary of filename: sha256hash entries for export-output-file(s) - OutputFileInfo interface{} `json:"output_file_info,omitempty"` + OutputFileInfo map[string]interface{} `json:"output_file_info,omitempty"` // Filename and sha256-checksum of table-of-contents for this export - TocInfo interface{} `json:"toc_info,omitempty"` + TocInfo map[string]interface{} `json:"toc_info,omitempty"` AdditionalProperties map[string]interface{} } @@ -262,10 +262,10 @@ func (o *PulpExportResponse) SetExportedResources(v []string) { o.ExportedResources = v } -// GetParams returns the Params field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PulpExportResponse) GetParams() interface{} { - if o == nil { - var ret interface{} +// GetParams returns the Params field value if set, zero value otherwise. +func (o *PulpExportResponse) GetParams() map[string]interface{} { + if o == nil || IsNil(o.Params) { + var ret map[string]interface{} return ret } return o.Params @@ -273,12 +273,11 @@ func (o *PulpExportResponse) GetParams() interface{} { // GetParamsOk returns a tuple with the Params 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 *PulpExportResponse) GetParamsOk() (*interface{}, bool) { +func (o *PulpExportResponse) GetParamsOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.Params) { - return nil, false + return map[string]interface{}{}, false } - return &o.Params, true + return o.Params, true } // HasParams returns a boolean if a field has been set. @@ -290,15 +289,15 @@ func (o *PulpExportResponse) HasParams() bool { return false } -// SetParams gets a reference to the given interface{} and assigns it to the Params field. -func (o *PulpExportResponse) SetParams(v interface{}) { +// SetParams gets a reference to the given map[string]interface{} and assigns it to the Params field. +func (o *PulpExportResponse) SetParams(v map[string]interface{}) { o.Params = v } -// GetOutputFileInfo returns the OutputFileInfo field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PulpExportResponse) GetOutputFileInfo() interface{} { - if o == nil { - var ret interface{} +// GetOutputFileInfo returns the OutputFileInfo field value if set, zero value otherwise. +func (o *PulpExportResponse) GetOutputFileInfo() map[string]interface{} { + if o == nil || IsNil(o.OutputFileInfo) { + var ret map[string]interface{} return ret } return o.OutputFileInfo @@ -306,12 +305,11 @@ func (o *PulpExportResponse) GetOutputFileInfo() interface{} { // GetOutputFileInfoOk returns a tuple with the OutputFileInfo 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 *PulpExportResponse) GetOutputFileInfoOk() (*interface{}, bool) { +func (o *PulpExportResponse) GetOutputFileInfoOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.OutputFileInfo) { - return nil, false + return map[string]interface{}{}, false } - return &o.OutputFileInfo, true + return o.OutputFileInfo, true } // HasOutputFileInfo returns a boolean if a field has been set. @@ -323,15 +321,15 @@ func (o *PulpExportResponse) HasOutputFileInfo() bool { return false } -// SetOutputFileInfo gets a reference to the given interface{} and assigns it to the OutputFileInfo field. -func (o *PulpExportResponse) SetOutputFileInfo(v interface{}) { +// SetOutputFileInfo gets a reference to the given map[string]interface{} and assigns it to the OutputFileInfo field. +func (o *PulpExportResponse) SetOutputFileInfo(v map[string]interface{}) { o.OutputFileInfo = v } -// GetTocInfo returns the TocInfo field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PulpExportResponse) GetTocInfo() interface{} { - if o == nil { - var ret interface{} +// GetTocInfo returns the TocInfo field value if set, zero value otherwise. +func (o *PulpExportResponse) GetTocInfo() map[string]interface{} { + if o == nil || IsNil(o.TocInfo) { + var ret map[string]interface{} return ret } return o.TocInfo @@ -339,12 +337,11 @@ func (o *PulpExportResponse) GetTocInfo() interface{} { // GetTocInfoOk returns a tuple with the TocInfo 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 *PulpExportResponse) GetTocInfoOk() (*interface{}, bool) { +func (o *PulpExportResponse) GetTocInfoOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.TocInfo) { - return nil, false + return map[string]interface{}{}, false } - return &o.TocInfo, true + return o.TocInfo, true } // HasTocInfo returns a boolean if a field has been set. @@ -356,8 +353,8 @@ func (o *PulpExportResponse) HasTocInfo() bool { return false } -// SetTocInfo gets a reference to the given interface{} and assigns it to the TocInfo field. -func (o *PulpExportResponse) SetTocInfo(v interface{}) { +// SetTocInfo gets a reference to the given map[string]interface{} and assigns it to the TocInfo field. +func (o *PulpExportResponse) SetTocInfo(v map[string]interface{}) { o.TocInfo = v } @@ -389,13 +386,13 @@ func (o PulpExportResponse) ToMap() (map[string]interface{}, error) { if !IsNil(o.ExportedResources) { toSerialize["exported_resources"] = o.ExportedResources } - if o.Params != nil { + if !IsNil(o.Params) { toSerialize["params"] = o.Params } - if o.OutputFileInfo != nil { + if !IsNil(o.OutputFileInfo) { toSerialize["output_file_info"] = o.OutputFileInfo } - if o.TocInfo != nil { + if !IsNil(o.TocInfo) { toSerialize["toc_info"] = o.TocInfo } diff --git a/release/model_python_python_package_content.go b/release/model_python_python_package_content.go index eede8e6..f2dee16 100644 --- a/release/model_python_python_package_content.go +++ b/release/model_python_python_package_content.go @@ -63,21 +63,21 @@ type PythonPythonPackageContent struct { // A browsable URL for the project and a label for it, separated by a comma. ProjectUrl *string `json:"project_url,omitempty"` // A dictionary of labels and URLs for the project. - ProjectUrls interface{} `json:"project_urls,omitempty"` + ProjectUrls map[string]interface{} `json:"project_urls,omitempty"` // A comma-separated list of platform specifications, summarizing the operating systems supported by the package. Platform *string `json:"platform,omitempty"` // Field to specify the OS and CPU for which the binary package was compiled. SupportedPlatform *string `json:"supported_platform,omitempty"` // A JSON list containing names of some other distutils project required by this distribution. - RequiresDist interface{} `json:"requires_dist,omitempty"` + RequiresDist map[string]interface{} `json:"requires_dist,omitempty"` // A JSON list containing names of a Distutils project which is contained within this distribution. - ProvidesDist interface{} `json:"provides_dist,omitempty"` + ProvidesDist map[string]interface{} `json:"provides_dist,omitempty"` // A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. - ObsoletesDist interface{} `json:"obsoletes_dist,omitempty"` + ObsoletesDist map[string]interface{} `json:"obsoletes_dist,omitempty"` // A JSON list containing some dependency in the system that the distribution is to be used. - RequiresExternal interface{} `json:"requires_external,omitempty"` + RequiresExternal map[string]interface{} `json:"requires_external,omitempty"` // A JSON list containing classification values for a Python package. - Classifiers interface{} `json:"classifiers,omitempty"` + Classifiers map[string]interface{} `json:"classifiers,omitempty"` AdditionalProperties map[string]interface{} } @@ -737,10 +737,10 @@ func (o *PythonPythonPackageContent) SetProjectUrl(v string) { o.ProjectUrl = &v } -// GetProjectUrls returns the ProjectUrls field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PythonPythonPackageContent) GetProjectUrls() interface{} { - if o == nil { - var ret interface{} +// GetProjectUrls returns the ProjectUrls field value if set, zero value otherwise. +func (o *PythonPythonPackageContent) GetProjectUrls() map[string]interface{} { + if o == nil || IsNil(o.ProjectUrls) { + var ret map[string]interface{} return ret } return o.ProjectUrls @@ -748,12 +748,11 @@ func (o *PythonPythonPackageContent) GetProjectUrls() interface{} { // GetProjectUrlsOk returns a tuple with the ProjectUrls 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 *PythonPythonPackageContent) GetProjectUrlsOk() (*interface{}, bool) { +func (o *PythonPythonPackageContent) GetProjectUrlsOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.ProjectUrls) { - return nil, false + return map[string]interface{}{}, false } - return &o.ProjectUrls, true + return o.ProjectUrls, true } // HasProjectUrls returns a boolean if a field has been set. @@ -765,8 +764,8 @@ func (o *PythonPythonPackageContent) HasProjectUrls() bool { return false } -// SetProjectUrls gets a reference to the given interface{} and assigns it to the ProjectUrls field. -func (o *PythonPythonPackageContent) SetProjectUrls(v interface{}) { +// SetProjectUrls gets a reference to the given map[string]interface{} and assigns it to the ProjectUrls field. +func (o *PythonPythonPackageContent) SetProjectUrls(v map[string]interface{}) { o.ProjectUrls = v } @@ -834,10 +833,10 @@ func (o *PythonPythonPackageContent) SetSupportedPlatform(v string) { o.SupportedPlatform = &v } -// GetRequiresDist returns the RequiresDist field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PythonPythonPackageContent) GetRequiresDist() interface{} { - if o == nil { - var ret interface{} +// GetRequiresDist returns the RequiresDist field value if set, zero value otherwise. +func (o *PythonPythonPackageContent) GetRequiresDist() map[string]interface{} { + if o == nil || IsNil(o.RequiresDist) { + var ret map[string]interface{} return ret } return o.RequiresDist @@ -845,12 +844,11 @@ func (o *PythonPythonPackageContent) GetRequiresDist() interface{} { // GetRequiresDistOk returns a tuple with the RequiresDist 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 *PythonPythonPackageContent) GetRequiresDistOk() (*interface{}, bool) { +func (o *PythonPythonPackageContent) GetRequiresDistOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.RequiresDist) { - return nil, false + return map[string]interface{}{}, false } - return &o.RequiresDist, true + return o.RequiresDist, true } // HasRequiresDist returns a boolean if a field has been set. @@ -862,15 +860,15 @@ func (o *PythonPythonPackageContent) HasRequiresDist() bool { return false } -// SetRequiresDist gets a reference to the given interface{} and assigns it to the RequiresDist field. -func (o *PythonPythonPackageContent) SetRequiresDist(v interface{}) { +// SetRequiresDist gets a reference to the given map[string]interface{} and assigns it to the RequiresDist field. +func (o *PythonPythonPackageContent) SetRequiresDist(v map[string]interface{}) { o.RequiresDist = v } -// GetProvidesDist returns the ProvidesDist field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PythonPythonPackageContent) GetProvidesDist() interface{} { - if o == nil { - var ret interface{} +// GetProvidesDist returns the ProvidesDist field value if set, zero value otherwise. +func (o *PythonPythonPackageContent) GetProvidesDist() map[string]interface{} { + if o == nil || IsNil(o.ProvidesDist) { + var ret map[string]interface{} return ret } return o.ProvidesDist @@ -878,12 +876,11 @@ func (o *PythonPythonPackageContent) GetProvidesDist() interface{} { // GetProvidesDistOk returns a tuple with the ProvidesDist 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 *PythonPythonPackageContent) GetProvidesDistOk() (*interface{}, bool) { +func (o *PythonPythonPackageContent) GetProvidesDistOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.ProvidesDist) { - return nil, false + return map[string]interface{}{}, false } - return &o.ProvidesDist, true + return o.ProvidesDist, true } // HasProvidesDist returns a boolean if a field has been set. @@ -895,15 +892,15 @@ func (o *PythonPythonPackageContent) HasProvidesDist() bool { return false } -// SetProvidesDist gets a reference to the given interface{} and assigns it to the ProvidesDist field. -func (o *PythonPythonPackageContent) SetProvidesDist(v interface{}) { +// SetProvidesDist gets a reference to the given map[string]interface{} and assigns it to the ProvidesDist field. +func (o *PythonPythonPackageContent) SetProvidesDist(v map[string]interface{}) { o.ProvidesDist = v } -// GetObsoletesDist returns the ObsoletesDist field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PythonPythonPackageContent) GetObsoletesDist() interface{} { - if o == nil { - var ret interface{} +// GetObsoletesDist returns the ObsoletesDist field value if set, zero value otherwise. +func (o *PythonPythonPackageContent) GetObsoletesDist() map[string]interface{} { + if o == nil || IsNil(o.ObsoletesDist) { + var ret map[string]interface{} return ret } return o.ObsoletesDist @@ -911,12 +908,11 @@ func (o *PythonPythonPackageContent) GetObsoletesDist() interface{} { // GetObsoletesDistOk returns a tuple with the ObsoletesDist 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 *PythonPythonPackageContent) GetObsoletesDistOk() (*interface{}, bool) { +func (o *PythonPythonPackageContent) GetObsoletesDistOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.ObsoletesDist) { - return nil, false + return map[string]interface{}{}, false } - return &o.ObsoletesDist, true + return o.ObsoletesDist, true } // HasObsoletesDist returns a boolean if a field has been set. @@ -928,15 +924,15 @@ func (o *PythonPythonPackageContent) HasObsoletesDist() bool { return false } -// SetObsoletesDist gets a reference to the given interface{} and assigns it to the ObsoletesDist field. -func (o *PythonPythonPackageContent) SetObsoletesDist(v interface{}) { +// SetObsoletesDist gets a reference to the given map[string]interface{} and assigns it to the ObsoletesDist field. +func (o *PythonPythonPackageContent) SetObsoletesDist(v map[string]interface{}) { o.ObsoletesDist = v } -// GetRequiresExternal returns the RequiresExternal field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PythonPythonPackageContent) GetRequiresExternal() interface{} { - if o == nil { - var ret interface{} +// GetRequiresExternal returns the RequiresExternal field value if set, zero value otherwise. +func (o *PythonPythonPackageContent) GetRequiresExternal() map[string]interface{} { + if o == nil || IsNil(o.RequiresExternal) { + var ret map[string]interface{} return ret } return o.RequiresExternal @@ -944,12 +940,11 @@ func (o *PythonPythonPackageContent) GetRequiresExternal() interface{} { // GetRequiresExternalOk returns a tuple with the RequiresExternal 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 *PythonPythonPackageContent) GetRequiresExternalOk() (*interface{}, bool) { +func (o *PythonPythonPackageContent) GetRequiresExternalOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.RequiresExternal) { - return nil, false + return map[string]interface{}{}, false } - return &o.RequiresExternal, true + return o.RequiresExternal, true } // HasRequiresExternal returns a boolean if a field has been set. @@ -961,15 +956,15 @@ func (o *PythonPythonPackageContent) HasRequiresExternal() bool { return false } -// SetRequiresExternal gets a reference to the given interface{} and assigns it to the RequiresExternal field. -func (o *PythonPythonPackageContent) SetRequiresExternal(v interface{}) { +// SetRequiresExternal gets a reference to the given map[string]interface{} and assigns it to the RequiresExternal field. +func (o *PythonPythonPackageContent) SetRequiresExternal(v map[string]interface{}) { o.RequiresExternal = v } -// GetClassifiers returns the Classifiers field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PythonPythonPackageContent) GetClassifiers() interface{} { - if o == nil { - var ret interface{} +// GetClassifiers returns the Classifiers field value if set, zero value otherwise. +func (o *PythonPythonPackageContent) GetClassifiers() map[string]interface{} { + if o == nil || IsNil(o.Classifiers) { + var ret map[string]interface{} return ret } return o.Classifiers @@ -977,12 +972,11 @@ func (o *PythonPythonPackageContent) GetClassifiers() interface{} { // GetClassifiersOk returns a tuple with the Classifiers 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 *PythonPythonPackageContent) GetClassifiersOk() (*interface{}, bool) { +func (o *PythonPythonPackageContent) GetClassifiersOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.Classifiers) { - return nil, false + return map[string]interface{}{}, false } - return &o.Classifiers, true + return o.Classifiers, true } // HasClassifiers returns a boolean if a field has been set. @@ -994,8 +988,8 @@ func (o *PythonPythonPackageContent) HasClassifiers() bool { return false } -// SetClassifiers gets a reference to the given interface{} and assigns it to the Classifiers field. -func (o *PythonPythonPackageContent) SetClassifiers(v interface{}) { +// SetClassifiers gets a reference to the given map[string]interface{} and assigns it to the Classifiers field. +func (o *PythonPythonPackageContent) SetClassifiers(v map[string]interface{}) { o.Classifiers = v } @@ -1067,7 +1061,7 @@ func (o PythonPythonPackageContent) ToMap() (map[string]interface{}, error) { if !IsNil(o.ProjectUrl) { toSerialize["project_url"] = o.ProjectUrl } - if o.ProjectUrls != nil { + if !IsNil(o.ProjectUrls) { toSerialize["project_urls"] = o.ProjectUrls } if !IsNil(o.Platform) { @@ -1076,19 +1070,19 @@ func (o PythonPythonPackageContent) ToMap() (map[string]interface{}, error) { if !IsNil(o.SupportedPlatform) { toSerialize["supported_platform"] = o.SupportedPlatform } - if o.RequiresDist != nil { + if !IsNil(o.RequiresDist) { toSerialize["requires_dist"] = o.RequiresDist } - if o.ProvidesDist != nil { + if !IsNil(o.ProvidesDist) { toSerialize["provides_dist"] = o.ProvidesDist } - if o.ObsoletesDist != nil { + if !IsNil(o.ObsoletesDist) { toSerialize["obsoletes_dist"] = o.ObsoletesDist } - if o.RequiresExternal != nil { + if !IsNil(o.RequiresExternal) { toSerialize["requires_external"] = o.RequiresExternal } - if o.Classifiers != nil { + if !IsNil(o.Classifiers) { toSerialize["classifiers"] = o.Classifiers } diff --git a/release/model_python_python_package_content_response.go b/release/model_python_python_package_content_response.go index 6bc8f06..5300319 100644 --- a/release/model_python_python_package_content_response.go +++ b/release/model_python_python_package_content_response.go @@ -69,21 +69,21 @@ type PythonPythonPackageContentResponse struct { // A browsable URL for the project and a label for it, separated by a comma. ProjectUrl *string `json:"project_url,omitempty"` // A dictionary of labels and URLs for the project. - ProjectUrls interface{} `json:"project_urls,omitempty"` + ProjectUrls map[string]interface{} `json:"project_urls,omitempty"` // A comma-separated list of platform specifications, summarizing the operating systems supported by the package. Platform *string `json:"platform,omitempty"` // Field to specify the OS and CPU for which the binary package was compiled. SupportedPlatform *string `json:"supported_platform,omitempty"` // A JSON list containing names of some other distutils project required by this distribution. - RequiresDist interface{} `json:"requires_dist,omitempty"` + RequiresDist map[string]interface{} `json:"requires_dist,omitempty"` // A JSON list containing names of a Distutils project which is contained within this distribution. - ProvidesDist interface{} `json:"provides_dist,omitempty"` + ProvidesDist map[string]interface{} `json:"provides_dist,omitempty"` // A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. - ObsoletesDist interface{} `json:"obsoletes_dist,omitempty"` + ObsoletesDist map[string]interface{} `json:"obsoletes_dist,omitempty"` // A JSON list containing some dependency in the system that the distribution is to be used. - RequiresExternal interface{} `json:"requires_external,omitempty"` + RequiresExternal map[string]interface{} `json:"requires_external,omitempty"` // A JSON list containing classification values for a Python package. - Classifiers interface{} `json:"classifiers,omitempty"` + Classifiers map[string]interface{} `json:"classifiers,omitempty"` AdditionalProperties map[string]interface{} } @@ -878,10 +878,10 @@ func (o *PythonPythonPackageContentResponse) SetProjectUrl(v string) { o.ProjectUrl = &v } -// GetProjectUrls returns the ProjectUrls field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PythonPythonPackageContentResponse) GetProjectUrls() interface{} { - if o == nil { - var ret interface{} +// GetProjectUrls returns the ProjectUrls field value if set, zero value otherwise. +func (o *PythonPythonPackageContentResponse) GetProjectUrls() map[string]interface{} { + if o == nil || IsNil(o.ProjectUrls) { + var ret map[string]interface{} return ret } return o.ProjectUrls @@ -889,12 +889,11 @@ func (o *PythonPythonPackageContentResponse) GetProjectUrls() interface{} { // GetProjectUrlsOk returns a tuple with the ProjectUrls 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 *PythonPythonPackageContentResponse) GetProjectUrlsOk() (*interface{}, bool) { +func (o *PythonPythonPackageContentResponse) GetProjectUrlsOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.ProjectUrls) { - return nil, false + return map[string]interface{}{}, false } - return &o.ProjectUrls, true + return o.ProjectUrls, true } // HasProjectUrls returns a boolean if a field has been set. @@ -906,8 +905,8 @@ func (o *PythonPythonPackageContentResponse) HasProjectUrls() bool { return false } -// SetProjectUrls gets a reference to the given interface{} and assigns it to the ProjectUrls field. -func (o *PythonPythonPackageContentResponse) SetProjectUrls(v interface{}) { +// SetProjectUrls gets a reference to the given map[string]interface{} and assigns it to the ProjectUrls field. +func (o *PythonPythonPackageContentResponse) SetProjectUrls(v map[string]interface{}) { o.ProjectUrls = v } @@ -975,10 +974,10 @@ func (o *PythonPythonPackageContentResponse) SetSupportedPlatform(v string) { o.SupportedPlatform = &v } -// GetRequiresDist returns the RequiresDist field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PythonPythonPackageContentResponse) GetRequiresDist() interface{} { - if o == nil { - var ret interface{} +// GetRequiresDist returns the RequiresDist field value if set, zero value otherwise. +func (o *PythonPythonPackageContentResponse) GetRequiresDist() map[string]interface{} { + if o == nil || IsNil(o.RequiresDist) { + var ret map[string]interface{} return ret } return o.RequiresDist @@ -986,12 +985,11 @@ func (o *PythonPythonPackageContentResponse) GetRequiresDist() interface{} { // GetRequiresDistOk returns a tuple with the RequiresDist 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 *PythonPythonPackageContentResponse) GetRequiresDistOk() (*interface{}, bool) { +func (o *PythonPythonPackageContentResponse) GetRequiresDistOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.RequiresDist) { - return nil, false + return map[string]interface{}{}, false } - return &o.RequiresDist, true + return o.RequiresDist, true } // HasRequiresDist returns a boolean if a field has been set. @@ -1003,15 +1001,15 @@ func (o *PythonPythonPackageContentResponse) HasRequiresDist() bool { return false } -// SetRequiresDist gets a reference to the given interface{} and assigns it to the RequiresDist field. -func (o *PythonPythonPackageContentResponse) SetRequiresDist(v interface{}) { +// SetRequiresDist gets a reference to the given map[string]interface{} and assigns it to the RequiresDist field. +func (o *PythonPythonPackageContentResponse) SetRequiresDist(v map[string]interface{}) { o.RequiresDist = v } -// GetProvidesDist returns the ProvidesDist field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PythonPythonPackageContentResponse) GetProvidesDist() interface{} { - if o == nil { - var ret interface{} +// GetProvidesDist returns the ProvidesDist field value if set, zero value otherwise. +func (o *PythonPythonPackageContentResponse) GetProvidesDist() map[string]interface{} { + if o == nil || IsNil(o.ProvidesDist) { + var ret map[string]interface{} return ret } return o.ProvidesDist @@ -1019,12 +1017,11 @@ func (o *PythonPythonPackageContentResponse) GetProvidesDist() interface{} { // GetProvidesDistOk returns a tuple with the ProvidesDist 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 *PythonPythonPackageContentResponse) GetProvidesDistOk() (*interface{}, bool) { +func (o *PythonPythonPackageContentResponse) GetProvidesDistOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.ProvidesDist) { - return nil, false + return map[string]interface{}{}, false } - return &o.ProvidesDist, true + return o.ProvidesDist, true } // HasProvidesDist returns a boolean if a field has been set. @@ -1036,15 +1033,15 @@ func (o *PythonPythonPackageContentResponse) HasProvidesDist() bool { return false } -// SetProvidesDist gets a reference to the given interface{} and assigns it to the ProvidesDist field. -func (o *PythonPythonPackageContentResponse) SetProvidesDist(v interface{}) { +// SetProvidesDist gets a reference to the given map[string]interface{} and assigns it to the ProvidesDist field. +func (o *PythonPythonPackageContentResponse) SetProvidesDist(v map[string]interface{}) { o.ProvidesDist = v } -// GetObsoletesDist returns the ObsoletesDist field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PythonPythonPackageContentResponse) GetObsoletesDist() interface{} { - if o == nil { - var ret interface{} +// GetObsoletesDist returns the ObsoletesDist field value if set, zero value otherwise. +func (o *PythonPythonPackageContentResponse) GetObsoletesDist() map[string]interface{} { + if o == nil || IsNil(o.ObsoletesDist) { + var ret map[string]interface{} return ret } return o.ObsoletesDist @@ -1052,12 +1049,11 @@ func (o *PythonPythonPackageContentResponse) GetObsoletesDist() interface{} { // GetObsoletesDistOk returns a tuple with the ObsoletesDist 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 *PythonPythonPackageContentResponse) GetObsoletesDistOk() (*interface{}, bool) { +func (o *PythonPythonPackageContentResponse) GetObsoletesDistOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.ObsoletesDist) { - return nil, false + return map[string]interface{}{}, false } - return &o.ObsoletesDist, true + return o.ObsoletesDist, true } // HasObsoletesDist returns a boolean if a field has been set. @@ -1069,15 +1065,15 @@ func (o *PythonPythonPackageContentResponse) HasObsoletesDist() bool { return false } -// SetObsoletesDist gets a reference to the given interface{} and assigns it to the ObsoletesDist field. -func (o *PythonPythonPackageContentResponse) SetObsoletesDist(v interface{}) { +// SetObsoletesDist gets a reference to the given map[string]interface{} and assigns it to the ObsoletesDist field. +func (o *PythonPythonPackageContentResponse) SetObsoletesDist(v map[string]interface{}) { o.ObsoletesDist = v } -// GetRequiresExternal returns the RequiresExternal field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PythonPythonPackageContentResponse) GetRequiresExternal() interface{} { - if o == nil { - var ret interface{} +// GetRequiresExternal returns the RequiresExternal field value if set, zero value otherwise. +func (o *PythonPythonPackageContentResponse) GetRequiresExternal() map[string]interface{} { + if o == nil || IsNil(o.RequiresExternal) { + var ret map[string]interface{} return ret } return o.RequiresExternal @@ -1085,12 +1081,11 @@ func (o *PythonPythonPackageContentResponse) GetRequiresExternal() interface{} { // GetRequiresExternalOk returns a tuple with the RequiresExternal 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 *PythonPythonPackageContentResponse) GetRequiresExternalOk() (*interface{}, bool) { +func (o *PythonPythonPackageContentResponse) GetRequiresExternalOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.RequiresExternal) { - return nil, false + return map[string]interface{}{}, false } - return &o.RequiresExternal, true + return o.RequiresExternal, true } // HasRequiresExternal returns a boolean if a field has been set. @@ -1102,15 +1097,15 @@ func (o *PythonPythonPackageContentResponse) HasRequiresExternal() bool { return false } -// SetRequiresExternal gets a reference to the given interface{} and assigns it to the RequiresExternal field. -func (o *PythonPythonPackageContentResponse) SetRequiresExternal(v interface{}) { +// SetRequiresExternal gets a reference to the given map[string]interface{} and assigns it to the RequiresExternal field. +func (o *PythonPythonPackageContentResponse) SetRequiresExternal(v map[string]interface{}) { o.RequiresExternal = v } -// GetClassifiers returns the Classifiers field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PythonPythonPackageContentResponse) GetClassifiers() interface{} { - if o == nil { - var ret interface{} +// GetClassifiers returns the Classifiers field value if set, zero value otherwise. +func (o *PythonPythonPackageContentResponse) GetClassifiers() map[string]interface{} { + if o == nil || IsNil(o.Classifiers) { + var ret map[string]interface{} return ret } return o.Classifiers @@ -1118,12 +1113,11 @@ func (o *PythonPythonPackageContentResponse) GetClassifiers() interface{} { // GetClassifiersOk returns a tuple with the Classifiers 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 *PythonPythonPackageContentResponse) GetClassifiersOk() (*interface{}, bool) { +func (o *PythonPythonPackageContentResponse) GetClassifiersOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.Classifiers) { - return nil, false + return map[string]interface{}{}, false } - return &o.Classifiers, true + return o.Classifiers, true } // HasClassifiers returns a boolean if a field has been set. @@ -1135,8 +1129,8 @@ func (o *PythonPythonPackageContentResponse) HasClassifiers() bool { return false } -// SetClassifiers gets a reference to the given interface{} and assigns it to the Classifiers field. -func (o *PythonPythonPackageContentResponse) SetClassifiers(v interface{}) { +// SetClassifiers gets a reference to the given map[string]interface{} and assigns it to the Classifiers field. +func (o *PythonPythonPackageContentResponse) SetClassifiers(v map[string]interface{}) { o.Classifiers = v } @@ -1222,7 +1216,7 @@ func (o PythonPythonPackageContentResponse) ToMap() (map[string]interface{}, err if !IsNil(o.ProjectUrl) { toSerialize["project_url"] = o.ProjectUrl } - if o.ProjectUrls != nil { + if !IsNil(o.ProjectUrls) { toSerialize["project_urls"] = o.ProjectUrls } if !IsNil(o.Platform) { @@ -1231,19 +1225,19 @@ func (o PythonPythonPackageContentResponse) ToMap() (map[string]interface{}, err if !IsNil(o.SupportedPlatform) { toSerialize["supported_platform"] = o.SupportedPlatform } - if o.RequiresDist != nil { + if !IsNil(o.RequiresDist) { toSerialize["requires_dist"] = o.RequiresDist } - if o.ProvidesDist != nil { + if !IsNil(o.ProvidesDist) { toSerialize["provides_dist"] = o.ProvidesDist } - if o.ObsoletesDist != nil { + if !IsNil(o.ObsoletesDist) { toSerialize["obsoletes_dist"] = o.ObsoletesDist } - if o.RequiresExternal != nil { + if !IsNil(o.RequiresExternal) { toSerialize["requires_external"] = o.RequiresExternal } - if o.Classifiers != nil { + if !IsNil(o.Classifiers) { toSerialize["classifiers"] = o.Classifiers } diff --git a/release/model_rpm_modulemd.go b/release/model_rpm_modulemd.go index 7cf7a21..d758cce 100644 --- a/release/model_rpm_modulemd.go +++ b/release/model_rpm_modulemd.go @@ -36,15 +36,15 @@ type RpmModulemd struct { // Modulemd architecture. Arch string `json:"arch"` // Modulemd artifacts. - Artifacts interface{} `json:"artifacts"` + Artifacts map[string]interface{} `json:"artifacts"` // Modulemd dependencies. - Dependencies interface{} `json:"dependencies"` + Dependencies map[string]interface{} `json:"dependencies"` // Modulemd artifacts' packages. Packages []*string `json:"packages,omitempty"` // Modulemd snippet Snippet string `json:"snippet"` // Modulemd profiles. - Profiles interface{} `json:"profiles"` + Profiles map[string]interface{} `json:"profiles"` // Description of module. Description string `json:"description"` AdditionalProperties map[string]interface{} @@ -56,7 +56,7 @@ type _RpmModulemd RpmModulemd // 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 NewRpmModulemd(name string, stream string, version string, context string, arch string, artifacts interface{}, dependencies interface{}, snippet string, profiles interface{}, description string) *RpmModulemd { +func NewRpmModulemd(name string, stream string, version string, context string, arch string, artifacts map[string]interface{}, dependencies map[string]interface{}, snippet string, profiles map[string]interface{}, description string) *RpmModulemd { this := RpmModulemd{} this.Name = name this.Stream = stream @@ -264,10 +264,10 @@ func (o *RpmModulemd) SetArch(v string) { } // GetArtifacts returns the Artifacts field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *RpmModulemd) GetArtifacts() interface{} { +// If the value is explicit nil, the zero value for map[string]interface{} will be returned +func (o *RpmModulemd) GetArtifacts() map[string]interface{} { if o == nil { - var ret interface{} + var ret map[string]interface{} return ret } @@ -277,23 +277,23 @@ func (o *RpmModulemd) GetArtifacts() interface{} { // GetArtifactsOk returns a tuple with the Artifacts 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 *RpmModulemd) GetArtifactsOk() (*interface{}, bool) { +func (o *RpmModulemd) GetArtifactsOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.Artifacts) { - return nil, false + return map[string]interface{}{}, false } - return &o.Artifacts, true + return o.Artifacts, true } // SetArtifacts sets field value -func (o *RpmModulemd) SetArtifacts(v interface{}) { +func (o *RpmModulemd) SetArtifacts(v map[string]interface{}) { o.Artifacts = v } // GetDependencies returns the Dependencies field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *RpmModulemd) GetDependencies() interface{} { +// If the value is explicit nil, the zero value for map[string]interface{} will be returned +func (o *RpmModulemd) GetDependencies() map[string]interface{} { if o == nil { - var ret interface{} + var ret map[string]interface{} return ret } @@ -303,15 +303,15 @@ func (o *RpmModulemd) GetDependencies() interface{} { // GetDependenciesOk returns a tuple with the Dependencies 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 *RpmModulemd) GetDependenciesOk() (*interface{}, bool) { +func (o *RpmModulemd) GetDependenciesOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.Dependencies) { - return nil, false + return map[string]interface{}{}, false } - return &o.Dependencies, true + return o.Dependencies, true } // SetDependencies sets field value -func (o *RpmModulemd) SetDependencies(v interface{}) { +func (o *RpmModulemd) SetDependencies(v map[string]interface{}) { o.Dependencies = v } @@ -372,10 +372,10 @@ func (o *RpmModulemd) SetSnippet(v string) { } // GetProfiles returns the Profiles field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *RpmModulemd) GetProfiles() interface{} { +// If the value is explicit nil, the zero value for map[string]interface{} will be returned +func (o *RpmModulemd) GetProfiles() map[string]interface{} { if o == nil { - var ret interface{} + var ret map[string]interface{} return ret } @@ -385,15 +385,15 @@ func (o *RpmModulemd) GetProfiles() interface{} { // GetProfilesOk returns a tuple with the Profiles 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 *RpmModulemd) GetProfilesOk() (*interface{}, bool) { +func (o *RpmModulemd) GetProfilesOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.Profiles) { - return nil, false + return map[string]interface{}{}, false } - return &o.Profiles, true + return o.Profiles, true } // SetProfiles sets field value -func (o *RpmModulemd) SetProfiles(v interface{}) { +func (o *RpmModulemd) SetProfiles(v map[string]interface{}) { o.Profiles = v } diff --git a/release/model_rpm_modulemd_defaults.go b/release/model_rpm_modulemd_defaults.go index 1de0666..45f1ccc 100644 --- a/release/model_rpm_modulemd_defaults.go +++ b/release/model_rpm_modulemd_defaults.go @@ -28,7 +28,7 @@ type RpmModulemdDefaults struct { // Modulemd default stream. Stream string `json:"stream"` // Default profiles for modulemd streams. - Profiles interface{} `json:"profiles"` + Profiles map[string]interface{} `json:"profiles"` // Modulemd default snippet Snippet string `json:"snippet"` AdditionalProperties map[string]interface{} @@ -40,7 +40,7 @@ type _RpmModulemdDefaults RpmModulemdDefaults // 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 NewRpmModulemdDefaults(module string, stream string, profiles interface{}, snippet string) *RpmModulemdDefaults { +func NewRpmModulemdDefaults(module string, stream string, profiles map[string]interface{}, snippet string) *RpmModulemdDefaults { this := RpmModulemdDefaults{} this.Module = module this.Stream = stream @@ -138,10 +138,9 @@ func (o *RpmModulemdDefaults) SetStream(v string) { } // GetProfiles returns the Profiles field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *RpmModulemdDefaults) GetProfiles() interface{} { +func (o *RpmModulemdDefaults) GetProfiles() map[string]interface{} { if o == nil { - var ret interface{} + var ret map[string]interface{} return ret } @@ -150,16 +149,15 @@ func (o *RpmModulemdDefaults) GetProfiles() interface{} { // GetProfilesOk returns a tuple with the Profiles 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 *RpmModulemdDefaults) GetProfilesOk() (*interface{}, bool) { - if o == nil || IsNil(o.Profiles) { - return nil, false +func (o *RpmModulemdDefaults) GetProfilesOk() (map[string]interface{}, bool) { + if o == nil { + return map[string]interface{}{}, false } - return &o.Profiles, true + return o.Profiles, true } // SetProfiles sets field value -func (o *RpmModulemdDefaults) SetProfiles(v interface{}) { +func (o *RpmModulemdDefaults) SetProfiles(v map[string]interface{}) { o.Profiles = v } @@ -202,9 +200,7 @@ func (o RpmModulemdDefaults) ToMap() (map[string]interface{}, error) { } toSerialize["module"] = o.Module toSerialize["stream"] = o.Stream - if o.Profiles != nil { - toSerialize["profiles"] = o.Profiles - } + toSerialize["profiles"] = o.Profiles toSerialize["snippet"] = o.Snippet for key, value := range o.AdditionalProperties { diff --git a/release/model_rpm_modulemd_defaults_response.go b/release/model_rpm_modulemd_defaults_response.go index 031b1b2..816830b 100644 --- a/release/model_rpm_modulemd_defaults_response.go +++ b/release/model_rpm_modulemd_defaults_response.go @@ -34,7 +34,7 @@ type RpmModulemdDefaultsResponse struct { // Modulemd default stream. Stream string `json:"stream"` // Default profiles for modulemd streams. - Profiles interface{} `json:"profiles"` + Profiles map[string]interface{} `json:"profiles"` AdditionalProperties map[string]interface{} } @@ -44,7 +44,7 @@ type _RpmModulemdDefaultsResponse RpmModulemdDefaultsResponse // 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 NewRpmModulemdDefaultsResponse(module string, stream string, profiles interface{}) *RpmModulemdDefaultsResponse { +func NewRpmModulemdDefaultsResponse(module string, stream string, profiles map[string]interface{}) *RpmModulemdDefaultsResponse { this := RpmModulemdDefaultsResponse{} this.Module = module this.Stream = stream @@ -237,10 +237,9 @@ func (o *RpmModulemdDefaultsResponse) SetStream(v string) { } // GetProfiles returns the Profiles field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *RpmModulemdDefaultsResponse) GetProfiles() interface{} { +func (o *RpmModulemdDefaultsResponse) GetProfiles() map[string]interface{} { if o == nil { - var ret interface{} + var ret map[string]interface{} return ret } @@ -249,16 +248,15 @@ func (o *RpmModulemdDefaultsResponse) GetProfiles() interface{} { // GetProfilesOk returns a tuple with the Profiles 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 *RpmModulemdDefaultsResponse) GetProfilesOk() (*interface{}, bool) { - if o == nil || IsNil(o.Profiles) { - return nil, false +func (o *RpmModulemdDefaultsResponse) GetProfilesOk() (map[string]interface{}, bool) { + if o == nil { + return map[string]interface{}{}, false } - return &o.Profiles, true + return o.Profiles, true } // SetProfiles sets field value -func (o *RpmModulemdDefaultsResponse) SetProfiles(v interface{}) { +func (o *RpmModulemdDefaultsResponse) SetProfiles(v map[string]interface{}) { o.Profiles = v } @@ -286,9 +284,7 @@ func (o RpmModulemdDefaultsResponse) ToMap() (map[string]interface{}, error) { } toSerialize["module"] = o.Module toSerialize["stream"] = o.Stream - if o.Profiles != nil { - toSerialize["profiles"] = o.Profiles - } + toSerialize["profiles"] = o.Profiles for key, value := range o.AdditionalProperties { toSerialize[key] = value diff --git a/release/model_rpm_modulemd_response.go b/release/model_rpm_modulemd_response.go index 5d3bb74..9fb64a4 100644 --- a/release/model_rpm_modulemd_response.go +++ b/release/model_rpm_modulemd_response.go @@ -42,13 +42,13 @@ type RpmModulemdResponse struct { // Modulemd architecture. Arch string `json:"arch"` // Modulemd artifacts. - Artifacts interface{} `json:"artifacts"` + Artifacts map[string]interface{} `json:"artifacts"` // Modulemd dependencies. - Dependencies interface{} `json:"dependencies"` + Dependencies map[string]interface{} `json:"dependencies"` // Modulemd artifacts' packages. Packages []*string `json:"packages,omitempty"` // Modulemd profiles. - Profiles interface{} `json:"profiles"` + Profiles map[string]interface{} `json:"profiles"` // Description of module. Description string `json:"description"` AdditionalProperties map[string]interface{} @@ -60,7 +60,7 @@ type _RpmModulemdResponse RpmModulemdResponse // 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 NewRpmModulemdResponse(name string, stream string, version string, context string, arch string, artifacts interface{}, dependencies interface{}, profiles interface{}, description string) *RpmModulemdResponse { +func NewRpmModulemdResponse(name string, stream string, version string, context string, arch string, artifacts map[string]interface{}, dependencies map[string]interface{}, profiles map[string]interface{}, description string) *RpmModulemdResponse { this := RpmModulemdResponse{} this.Name = name this.Stream = stream @@ -363,10 +363,10 @@ func (o *RpmModulemdResponse) SetArch(v string) { } // GetArtifacts returns the Artifacts field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *RpmModulemdResponse) GetArtifacts() interface{} { +// If the value is explicit nil, the zero value for map[string]interface{} will be returned +func (o *RpmModulemdResponse) GetArtifacts() map[string]interface{} { if o == nil { - var ret interface{} + var ret map[string]interface{} return ret } @@ -376,23 +376,23 @@ func (o *RpmModulemdResponse) GetArtifacts() interface{} { // GetArtifactsOk returns a tuple with the Artifacts 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 *RpmModulemdResponse) GetArtifactsOk() (*interface{}, bool) { +func (o *RpmModulemdResponse) GetArtifactsOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.Artifacts) { - return nil, false + return map[string]interface{}{}, false } - return &o.Artifacts, true + return o.Artifacts, true } // SetArtifacts sets field value -func (o *RpmModulemdResponse) SetArtifacts(v interface{}) { +func (o *RpmModulemdResponse) SetArtifacts(v map[string]interface{}) { o.Artifacts = v } // GetDependencies returns the Dependencies field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *RpmModulemdResponse) GetDependencies() interface{} { +// If the value is explicit nil, the zero value for map[string]interface{} will be returned +func (o *RpmModulemdResponse) GetDependencies() map[string]interface{} { if o == nil { - var ret interface{} + var ret map[string]interface{} return ret } @@ -402,15 +402,15 @@ func (o *RpmModulemdResponse) GetDependencies() interface{} { // GetDependenciesOk returns a tuple with the Dependencies 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 *RpmModulemdResponse) GetDependenciesOk() (*interface{}, bool) { +func (o *RpmModulemdResponse) GetDependenciesOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.Dependencies) { - return nil, false + return map[string]interface{}{}, false } - return &o.Dependencies, true + return o.Dependencies, true } // SetDependencies sets field value -func (o *RpmModulemdResponse) SetDependencies(v interface{}) { +func (o *RpmModulemdResponse) SetDependencies(v map[string]interface{}) { o.Dependencies = v } @@ -447,10 +447,10 @@ func (o *RpmModulemdResponse) SetPackages(v []*string) { } // GetProfiles returns the Profiles field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *RpmModulemdResponse) GetProfiles() interface{} { +// If the value is explicit nil, the zero value for map[string]interface{} will be returned +func (o *RpmModulemdResponse) GetProfiles() map[string]interface{} { if o == nil { - var ret interface{} + var ret map[string]interface{} return ret } @@ -460,15 +460,15 @@ func (o *RpmModulemdResponse) GetProfiles() interface{} { // GetProfilesOk returns a tuple with the Profiles 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 *RpmModulemdResponse) GetProfilesOk() (*interface{}, bool) { +func (o *RpmModulemdResponse) GetProfilesOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.Profiles) { - return nil, false + return map[string]interface{}{}, false } - return &o.Profiles, true + return o.Profiles, true } // SetProfiles sets field value -func (o *RpmModulemdResponse) SetProfiles(v interface{}) { +func (o *RpmModulemdResponse) SetProfiles(v map[string]interface{}) { o.Profiles = v } diff --git a/release/model_rpm_package_category_response.go b/release/model_rpm_package_category_response.go index c0509bb..b4f40a7 100644 --- a/release/model_rpm_package_category_response.go +++ b/release/model_rpm_package_category_response.go @@ -38,11 +38,11 @@ type RpmPackageCategoryResponse struct { // Category display order. DisplayOrder NullableInt64 `json:"display_order"` // Category group list. - GroupIds interface{} `json:"group_ids"` + GroupIds map[string]interface{} `json:"group_ids"` // Category description by language. - DescByLang interface{} `json:"desc_by_lang"` + DescByLang map[string]interface{} `json:"desc_by_lang"` // Category name by language. - NameByLang interface{} `json:"name_by_lang"` + NameByLang map[string]interface{} `json:"name_by_lang"` // Category digest. Digest string `json:"digest"` AdditionalProperties map[string]interface{} @@ -54,7 +54,7 @@ type _RpmPackageCategoryResponse RpmPackageCategoryResponse // 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 NewRpmPackageCategoryResponse(id string, name string, description string, displayOrder NullableInt64, groupIds interface{}, descByLang interface{}, nameByLang interface{}, digest string) *RpmPackageCategoryResponse { +func NewRpmPackageCategoryResponse(id string, name string, description string, displayOrder NullableInt64, groupIds map[string]interface{}, descByLang map[string]interface{}, nameByLang map[string]interface{}, digest string) *RpmPackageCategoryResponse { this := RpmPackageCategoryResponse{} this.Id = id this.Name = name @@ -302,10 +302,10 @@ func (o *RpmPackageCategoryResponse) SetDisplayOrder(v int64) { } // GetGroupIds returns the GroupIds field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *RpmPackageCategoryResponse) GetGroupIds() interface{} { +// If the value is explicit nil, the zero value for map[string]interface{} will be returned +func (o *RpmPackageCategoryResponse) GetGroupIds() map[string]interface{} { if o == nil { - var ret interface{} + var ret map[string]interface{} return ret } @@ -315,23 +315,23 @@ func (o *RpmPackageCategoryResponse) GetGroupIds() interface{} { // GetGroupIdsOk returns a tuple with the GroupIds 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 *RpmPackageCategoryResponse) GetGroupIdsOk() (*interface{}, bool) { +func (o *RpmPackageCategoryResponse) GetGroupIdsOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.GroupIds) { - return nil, false + return map[string]interface{}{}, false } - return &o.GroupIds, true + return o.GroupIds, true } // SetGroupIds sets field value -func (o *RpmPackageCategoryResponse) SetGroupIds(v interface{}) { +func (o *RpmPackageCategoryResponse) SetGroupIds(v map[string]interface{}) { o.GroupIds = v } // GetDescByLang returns the DescByLang field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *RpmPackageCategoryResponse) GetDescByLang() interface{} { +// If the value is explicit nil, the zero value for map[string]interface{} will be returned +func (o *RpmPackageCategoryResponse) GetDescByLang() map[string]interface{} { if o == nil { - var ret interface{} + var ret map[string]interface{} return ret } @@ -341,23 +341,23 @@ func (o *RpmPackageCategoryResponse) GetDescByLang() interface{} { // GetDescByLangOk returns a tuple with the DescByLang 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 *RpmPackageCategoryResponse) GetDescByLangOk() (*interface{}, bool) { +func (o *RpmPackageCategoryResponse) GetDescByLangOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.DescByLang) { - return nil, false + return map[string]interface{}{}, false } - return &o.DescByLang, true + return o.DescByLang, true } // SetDescByLang sets field value -func (o *RpmPackageCategoryResponse) SetDescByLang(v interface{}) { +func (o *RpmPackageCategoryResponse) SetDescByLang(v map[string]interface{}) { o.DescByLang = v } // GetNameByLang returns the NameByLang field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *RpmPackageCategoryResponse) GetNameByLang() interface{} { +// If the value is explicit nil, the zero value for map[string]interface{} will be returned +func (o *RpmPackageCategoryResponse) GetNameByLang() map[string]interface{} { if o == nil { - var ret interface{} + var ret map[string]interface{} return ret } @@ -367,15 +367,15 @@ func (o *RpmPackageCategoryResponse) GetNameByLang() interface{} { // GetNameByLangOk returns a tuple with the NameByLang 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 *RpmPackageCategoryResponse) GetNameByLangOk() (*interface{}, bool) { +func (o *RpmPackageCategoryResponse) GetNameByLangOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.NameByLang) { - return nil, false + return map[string]interface{}{}, false } - return &o.NameByLang, true + return o.NameByLang, true } // SetNameByLang sets field value -func (o *RpmPackageCategoryResponse) SetNameByLang(v interface{}) { +func (o *RpmPackageCategoryResponse) SetNameByLang(v map[string]interface{}) { o.NameByLang = v } diff --git a/release/model_rpm_package_environment_response.go b/release/model_rpm_package_environment_response.go index b49d939..16eb6dc 100644 --- a/release/model_rpm_package_environment_response.go +++ b/release/model_rpm_package_environment_response.go @@ -38,13 +38,13 @@ type RpmPackageEnvironmentResponse struct { // Environment display order. DisplayOrder NullableInt64 `json:"display_order"` // Environment group list. - GroupIds interface{} `json:"group_ids"` + GroupIds map[string]interface{} `json:"group_ids"` // Environment option ids - OptionIds interface{} `json:"option_ids"` + OptionIds map[string]interface{} `json:"option_ids"` // Environment description by language. - DescByLang interface{} `json:"desc_by_lang"` + DescByLang map[string]interface{} `json:"desc_by_lang"` // Environment name by language. - NameByLang interface{} `json:"name_by_lang"` + NameByLang map[string]interface{} `json:"name_by_lang"` // Environment digest. Digest string `json:"digest"` AdditionalProperties map[string]interface{} @@ -56,7 +56,7 @@ type _RpmPackageEnvironmentResponse RpmPackageEnvironmentResponse // 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 NewRpmPackageEnvironmentResponse(id string, name string, description string, displayOrder NullableInt64, groupIds interface{}, optionIds interface{}, descByLang interface{}, nameByLang interface{}, digest string) *RpmPackageEnvironmentResponse { +func NewRpmPackageEnvironmentResponse(id string, name string, description string, displayOrder NullableInt64, groupIds map[string]interface{}, optionIds map[string]interface{}, descByLang map[string]interface{}, nameByLang map[string]interface{}, digest string) *RpmPackageEnvironmentResponse { this := RpmPackageEnvironmentResponse{} this.Id = id this.Name = name @@ -305,10 +305,10 @@ func (o *RpmPackageEnvironmentResponse) SetDisplayOrder(v int64) { } // GetGroupIds returns the GroupIds field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *RpmPackageEnvironmentResponse) GetGroupIds() interface{} { +// If the value is explicit nil, the zero value for map[string]interface{} will be returned +func (o *RpmPackageEnvironmentResponse) GetGroupIds() map[string]interface{} { if o == nil { - var ret interface{} + var ret map[string]interface{} return ret } @@ -318,23 +318,23 @@ func (o *RpmPackageEnvironmentResponse) GetGroupIds() interface{} { // GetGroupIdsOk returns a tuple with the GroupIds 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 *RpmPackageEnvironmentResponse) GetGroupIdsOk() (*interface{}, bool) { +func (o *RpmPackageEnvironmentResponse) GetGroupIdsOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.GroupIds) { - return nil, false + return map[string]interface{}{}, false } - return &o.GroupIds, true + return o.GroupIds, true } // SetGroupIds sets field value -func (o *RpmPackageEnvironmentResponse) SetGroupIds(v interface{}) { +func (o *RpmPackageEnvironmentResponse) SetGroupIds(v map[string]interface{}) { o.GroupIds = v } // GetOptionIds returns the OptionIds field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *RpmPackageEnvironmentResponse) GetOptionIds() interface{} { +// If the value is explicit nil, the zero value for map[string]interface{} will be returned +func (o *RpmPackageEnvironmentResponse) GetOptionIds() map[string]interface{} { if o == nil { - var ret interface{} + var ret map[string]interface{} return ret } @@ -344,23 +344,23 @@ func (o *RpmPackageEnvironmentResponse) GetOptionIds() interface{} { // GetOptionIdsOk returns a tuple with the OptionIds 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 *RpmPackageEnvironmentResponse) GetOptionIdsOk() (*interface{}, bool) { +func (o *RpmPackageEnvironmentResponse) GetOptionIdsOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.OptionIds) { - return nil, false + return map[string]interface{}{}, false } - return &o.OptionIds, true + return o.OptionIds, true } // SetOptionIds sets field value -func (o *RpmPackageEnvironmentResponse) SetOptionIds(v interface{}) { +func (o *RpmPackageEnvironmentResponse) SetOptionIds(v map[string]interface{}) { o.OptionIds = v } // GetDescByLang returns the DescByLang field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *RpmPackageEnvironmentResponse) GetDescByLang() interface{} { +// If the value is explicit nil, the zero value for map[string]interface{} will be returned +func (o *RpmPackageEnvironmentResponse) GetDescByLang() map[string]interface{} { if o == nil { - var ret interface{} + var ret map[string]interface{} return ret } @@ -370,23 +370,23 @@ func (o *RpmPackageEnvironmentResponse) GetDescByLang() interface{} { // GetDescByLangOk returns a tuple with the DescByLang 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 *RpmPackageEnvironmentResponse) GetDescByLangOk() (*interface{}, bool) { +func (o *RpmPackageEnvironmentResponse) GetDescByLangOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.DescByLang) { - return nil, false + return map[string]interface{}{}, false } - return &o.DescByLang, true + return o.DescByLang, true } // SetDescByLang sets field value -func (o *RpmPackageEnvironmentResponse) SetDescByLang(v interface{}) { +func (o *RpmPackageEnvironmentResponse) SetDescByLang(v map[string]interface{}) { o.DescByLang = v } // GetNameByLang returns the NameByLang field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *RpmPackageEnvironmentResponse) GetNameByLang() interface{} { +// If the value is explicit nil, the zero value for map[string]interface{} will be returned +func (o *RpmPackageEnvironmentResponse) GetNameByLang() map[string]interface{} { if o == nil { - var ret interface{} + var ret map[string]interface{} return ret } @@ -396,15 +396,15 @@ func (o *RpmPackageEnvironmentResponse) GetNameByLang() interface{} { // GetNameByLangOk returns a tuple with the NameByLang 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 *RpmPackageEnvironmentResponse) GetNameByLangOk() (*interface{}, bool) { +func (o *RpmPackageEnvironmentResponse) GetNameByLangOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.NameByLang) { - return nil, false + return map[string]interface{}{}, false } - return &o.NameByLang, true + return o.NameByLang, true } // SetNameByLang sets field value -func (o *RpmPackageEnvironmentResponse) SetNameByLang(v interface{}) { +func (o *RpmPackageEnvironmentResponse) SetNameByLang(v map[string]interface{}) { o.NameByLang = v } diff --git a/release/model_rpm_package_group_response.go b/release/model_rpm_package_group_response.go index 4206c36..fc69bf8 100644 --- a/release/model_rpm_package_group_response.go +++ b/release/model_rpm_package_group_response.go @@ -42,13 +42,13 @@ type RpmPackageGroupResponse struct { // PackageGroup description. Description string `json:"description"` // PackageGroup package list. - Packages interface{} `json:"packages"` + Packages map[string]interface{} `json:"packages"` // PackageGroup biarch only. BiarchOnly *bool `json:"biarch_only,omitempty"` // PackageGroup description by language. - DescByLang interface{} `json:"desc_by_lang"` + DescByLang map[string]interface{} `json:"desc_by_lang"` // PackageGroup name by language. - NameByLang interface{} `json:"name_by_lang"` + NameByLang map[string]interface{} `json:"name_by_lang"` // PackageGroup digest. Digest string `json:"digest"` AdditionalProperties map[string]interface{} @@ -60,7 +60,7 @@ type _RpmPackageGroupResponse RpmPackageGroupResponse // 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 NewRpmPackageGroupResponse(id string, displayOrder NullableInt64, name string, description string, packages interface{}, descByLang interface{}, nameByLang interface{}, digest string) *RpmPackageGroupResponse { +func NewRpmPackageGroupResponse(id string, displayOrder NullableInt64, name string, description string, packages map[string]interface{}, descByLang map[string]interface{}, nameByLang map[string]interface{}, digest string) *RpmPackageGroupResponse { this := RpmPackageGroupResponse{} this.Id = id this.DisplayOrder = displayOrder @@ -372,10 +372,10 @@ func (o *RpmPackageGroupResponse) SetDescription(v string) { } // GetPackages returns the Packages field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *RpmPackageGroupResponse) GetPackages() interface{} { +// If the value is explicit nil, the zero value for map[string]interface{} will be returned +func (o *RpmPackageGroupResponse) GetPackages() map[string]interface{} { if o == nil { - var ret interface{} + var ret map[string]interface{} return ret } @@ -385,15 +385,15 @@ func (o *RpmPackageGroupResponse) GetPackages() interface{} { // GetPackagesOk returns a tuple with the Packages 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 *RpmPackageGroupResponse) GetPackagesOk() (*interface{}, bool) { +func (o *RpmPackageGroupResponse) GetPackagesOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.Packages) { - return nil, false + return map[string]interface{}{}, false } - return &o.Packages, true + return o.Packages, true } // SetPackages sets field value -func (o *RpmPackageGroupResponse) SetPackages(v interface{}) { +func (o *RpmPackageGroupResponse) SetPackages(v map[string]interface{}) { o.Packages = v } @@ -430,10 +430,10 @@ func (o *RpmPackageGroupResponse) SetBiarchOnly(v bool) { } // GetDescByLang returns the DescByLang field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *RpmPackageGroupResponse) GetDescByLang() interface{} { +// If the value is explicit nil, the zero value for map[string]interface{} will be returned +func (o *RpmPackageGroupResponse) GetDescByLang() map[string]interface{} { if o == nil { - var ret interface{} + var ret map[string]interface{} return ret } @@ -443,23 +443,23 @@ func (o *RpmPackageGroupResponse) GetDescByLang() interface{} { // GetDescByLangOk returns a tuple with the DescByLang 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 *RpmPackageGroupResponse) GetDescByLangOk() (*interface{}, bool) { +func (o *RpmPackageGroupResponse) GetDescByLangOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.DescByLang) { - return nil, false + return map[string]interface{}{}, false } - return &o.DescByLang, true + return o.DescByLang, true } // SetDescByLang sets field value -func (o *RpmPackageGroupResponse) SetDescByLang(v interface{}) { +func (o *RpmPackageGroupResponse) SetDescByLang(v map[string]interface{}) { o.DescByLang = v } // GetNameByLang returns the NameByLang field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *RpmPackageGroupResponse) GetNameByLang() interface{} { +// If the value is explicit nil, the zero value for map[string]interface{} will be returned +func (o *RpmPackageGroupResponse) GetNameByLang() map[string]interface{} { if o == nil { - var ret interface{} + var ret map[string]interface{} return ret } @@ -469,15 +469,15 @@ func (o *RpmPackageGroupResponse) GetNameByLang() interface{} { // GetNameByLangOk returns a tuple with the NameByLang 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 *RpmPackageGroupResponse) GetNameByLangOk() (*interface{}, bool) { +func (o *RpmPackageGroupResponse) GetNameByLangOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.NameByLang) { - return nil, false + return map[string]interface{}{}, false } - return &o.NameByLang, true + return o.NameByLang, true } // SetNameByLang sets field value -func (o *RpmPackageGroupResponse) SetNameByLang(v interface{}) { +func (o *RpmPackageGroupResponse) SetNameByLang(v map[string]interface{}) { o.NameByLang = v } diff --git a/release/model_rpm_package_langpacks_response.go b/release/model_rpm_package_langpacks_response.go index 4817880..2045828 100644 --- a/release/model_rpm_package_langpacks_response.go +++ b/release/model_rpm_package_langpacks_response.go @@ -30,7 +30,7 @@ type RpmPackageLangpacksResponse struct { // Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. PulpLastUpdated *time.Time `json:"pulp_last_updated,omitempty"` // Langpacks matches. - Matches interface{} `json:"matches"` + Matches map[string]interface{} `json:"matches"` // Langpacks digest. Digest NullableString `json:"digest"` AdditionalProperties map[string]interface{} @@ -42,7 +42,7 @@ type _RpmPackageLangpacksResponse RpmPackageLangpacksResponse // 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 NewRpmPackageLangpacksResponse(matches interface{}, digest NullableString) *RpmPackageLangpacksResponse { +func NewRpmPackageLangpacksResponse(matches map[string]interface{}, digest NullableString) *RpmPackageLangpacksResponse { this := RpmPackageLangpacksResponse{} this.Matches = matches this.Digest = digest @@ -186,10 +186,10 @@ func (o *RpmPackageLangpacksResponse) SetPulpLastUpdated(v time.Time) { } // GetMatches returns the Matches field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *RpmPackageLangpacksResponse) GetMatches() interface{} { +// If the value is explicit nil, the zero value for map[string]interface{} will be returned +func (o *RpmPackageLangpacksResponse) GetMatches() map[string]interface{} { if o == nil { - var ret interface{} + var ret map[string]interface{} return ret } @@ -199,15 +199,15 @@ func (o *RpmPackageLangpacksResponse) GetMatches() interface{} { // GetMatchesOk returns a tuple with the Matches 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 *RpmPackageLangpacksResponse) GetMatchesOk() (*interface{}, bool) { +func (o *RpmPackageLangpacksResponse) GetMatchesOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.Matches) { - return nil, false + return map[string]interface{}{}, false } - return &o.Matches, true + return o.Matches, true } // SetMatches sets field value -func (o *RpmPackageLangpacksResponse) SetMatches(v interface{}) { +func (o *RpmPackageLangpacksResponse) SetMatches(v map[string]interface{}) { o.Matches = v } diff --git a/release/model_rpm_package_response.go b/release/model_rpm_package_response.go index 103fa30..eaa04ba 100644 --- a/release/model_rpm_package_response.go +++ b/release/model_rpm_package_response.go @@ -63,25 +63,25 @@ type RpmPackageResponse struct { // URL with more information about the packaged software Url *string `json:"url,omitempty"` // Changelogs that package contains - Changelogs interface{} `json:"changelogs,omitempty"` + Changelogs map[string]interface{} `json:"changelogs,omitempty"` // Files that package contains - Files interface{} `json:"files,omitempty"` + Files map[string]interface{} `json:"files,omitempty"` // Capabilities the package requires - Requires interface{} `json:"requires,omitempty"` + Requires map[string]interface{} `json:"requires,omitempty"` // Capabilities the package provides - Provides interface{} `json:"provides,omitempty"` + Provides map[string]interface{} `json:"provides,omitempty"` // Capabilities the package conflicts - Conflicts interface{} `json:"conflicts,omitempty"` + Conflicts map[string]interface{} `json:"conflicts,omitempty"` // Capabilities the package obsoletes - Obsoletes interface{} `json:"obsoletes,omitempty"` + Obsoletes map[string]interface{} `json:"obsoletes,omitempty"` // Capabilities the package suggests - Suggests interface{} `json:"suggests,omitempty"` + Suggests map[string]interface{} `json:"suggests,omitempty"` // Capabilities the package enhances - Enhances interface{} `json:"enhances,omitempty"` + Enhances map[string]interface{} `json:"enhances,omitempty"` // Capabilities the package recommends - Recommends interface{} `json:"recommends,omitempty"` + Recommends map[string]interface{} `json:"recommends,omitempty"` // Capabilities the package supplements - Supplements interface{} `json:"supplements,omitempty"` + Supplements map[string]interface{} `json:"supplements,omitempty"` // Base location of this package LocationBase *string `json:"location_base,omitempty"` // Relative location of package to the repodata @@ -808,10 +808,10 @@ func (o *RpmPackageResponse) SetUrl(v string) { o.Url = &v } -// GetChangelogs returns the Changelogs field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *RpmPackageResponse) GetChangelogs() interface{} { - if o == nil { - var ret interface{} +// GetChangelogs returns the Changelogs field value if set, zero value otherwise. +func (o *RpmPackageResponse) GetChangelogs() map[string]interface{} { + if o == nil || IsNil(o.Changelogs) { + var ret map[string]interface{} return ret } return o.Changelogs @@ -819,12 +819,11 @@ func (o *RpmPackageResponse) GetChangelogs() interface{} { // GetChangelogsOk returns a tuple with the Changelogs 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 *RpmPackageResponse) GetChangelogsOk() (*interface{}, bool) { +func (o *RpmPackageResponse) GetChangelogsOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.Changelogs) { - return nil, false + return map[string]interface{}{}, false } - return &o.Changelogs, true + return o.Changelogs, true } // HasChangelogs returns a boolean if a field has been set. @@ -836,15 +835,15 @@ func (o *RpmPackageResponse) HasChangelogs() bool { return false } -// SetChangelogs gets a reference to the given interface{} and assigns it to the Changelogs field. -func (o *RpmPackageResponse) SetChangelogs(v interface{}) { +// SetChangelogs gets a reference to the given map[string]interface{} and assigns it to the Changelogs field. +func (o *RpmPackageResponse) SetChangelogs(v map[string]interface{}) { o.Changelogs = v } -// GetFiles returns the Files field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *RpmPackageResponse) GetFiles() interface{} { - if o == nil { - var ret interface{} +// GetFiles returns the Files field value if set, zero value otherwise. +func (o *RpmPackageResponse) GetFiles() map[string]interface{} { + if o == nil || IsNil(o.Files) { + var ret map[string]interface{} return ret } return o.Files @@ -852,12 +851,11 @@ func (o *RpmPackageResponse) GetFiles() interface{} { // GetFilesOk returns a tuple with the Files 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 *RpmPackageResponse) GetFilesOk() (*interface{}, bool) { +func (o *RpmPackageResponse) GetFilesOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.Files) { - return nil, false + return map[string]interface{}{}, false } - return &o.Files, true + return o.Files, true } // HasFiles returns a boolean if a field has been set. @@ -869,15 +867,15 @@ func (o *RpmPackageResponse) HasFiles() bool { return false } -// SetFiles gets a reference to the given interface{} and assigns it to the Files field. -func (o *RpmPackageResponse) SetFiles(v interface{}) { +// SetFiles gets a reference to the given map[string]interface{} and assigns it to the Files field. +func (o *RpmPackageResponse) SetFiles(v map[string]interface{}) { o.Files = v } -// GetRequires returns the Requires field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *RpmPackageResponse) GetRequires() interface{} { - if o == nil { - var ret interface{} +// GetRequires returns the Requires field value if set, zero value otherwise. +func (o *RpmPackageResponse) GetRequires() map[string]interface{} { + if o == nil || IsNil(o.Requires) { + var ret map[string]interface{} return ret } return o.Requires @@ -885,12 +883,11 @@ func (o *RpmPackageResponse) GetRequires() interface{} { // GetRequiresOk returns a tuple with the Requires 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 *RpmPackageResponse) GetRequiresOk() (*interface{}, bool) { +func (o *RpmPackageResponse) GetRequiresOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.Requires) { - return nil, false + return map[string]interface{}{}, false } - return &o.Requires, true + return o.Requires, true } // HasRequires returns a boolean if a field has been set. @@ -902,15 +899,15 @@ func (o *RpmPackageResponse) HasRequires() bool { return false } -// SetRequires gets a reference to the given interface{} and assigns it to the Requires field. -func (o *RpmPackageResponse) SetRequires(v interface{}) { +// SetRequires gets a reference to the given map[string]interface{} and assigns it to the Requires field. +func (o *RpmPackageResponse) SetRequires(v map[string]interface{}) { o.Requires = v } -// GetProvides returns the Provides field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *RpmPackageResponse) GetProvides() interface{} { - if o == nil { - var ret interface{} +// GetProvides returns the Provides field value if set, zero value otherwise. +func (o *RpmPackageResponse) GetProvides() map[string]interface{} { + if o == nil || IsNil(o.Provides) { + var ret map[string]interface{} return ret } return o.Provides @@ -918,12 +915,11 @@ func (o *RpmPackageResponse) GetProvides() interface{} { // GetProvidesOk returns a tuple with the Provides 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 *RpmPackageResponse) GetProvidesOk() (*interface{}, bool) { +func (o *RpmPackageResponse) GetProvidesOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.Provides) { - return nil, false + return map[string]interface{}{}, false } - return &o.Provides, true + return o.Provides, true } // HasProvides returns a boolean if a field has been set. @@ -935,15 +931,15 @@ func (o *RpmPackageResponse) HasProvides() bool { return false } -// SetProvides gets a reference to the given interface{} and assigns it to the Provides field. -func (o *RpmPackageResponse) SetProvides(v interface{}) { +// SetProvides gets a reference to the given map[string]interface{} and assigns it to the Provides field. +func (o *RpmPackageResponse) SetProvides(v map[string]interface{}) { o.Provides = v } -// GetConflicts returns the Conflicts field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *RpmPackageResponse) GetConflicts() interface{} { - if o == nil { - var ret interface{} +// GetConflicts returns the Conflicts field value if set, zero value otherwise. +func (o *RpmPackageResponse) GetConflicts() map[string]interface{} { + if o == nil || IsNil(o.Conflicts) { + var ret map[string]interface{} return ret } return o.Conflicts @@ -951,12 +947,11 @@ func (o *RpmPackageResponse) GetConflicts() interface{} { // GetConflictsOk returns a tuple with the Conflicts 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 *RpmPackageResponse) GetConflictsOk() (*interface{}, bool) { +func (o *RpmPackageResponse) GetConflictsOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.Conflicts) { - return nil, false + return map[string]interface{}{}, false } - return &o.Conflicts, true + return o.Conflicts, true } // HasConflicts returns a boolean if a field has been set. @@ -968,15 +963,15 @@ func (o *RpmPackageResponse) HasConflicts() bool { return false } -// SetConflicts gets a reference to the given interface{} and assigns it to the Conflicts field. -func (o *RpmPackageResponse) SetConflicts(v interface{}) { +// SetConflicts gets a reference to the given map[string]interface{} and assigns it to the Conflicts field. +func (o *RpmPackageResponse) SetConflicts(v map[string]interface{}) { o.Conflicts = v } -// GetObsoletes returns the Obsoletes field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *RpmPackageResponse) GetObsoletes() interface{} { - if o == nil { - var ret interface{} +// GetObsoletes returns the Obsoletes field value if set, zero value otherwise. +func (o *RpmPackageResponse) GetObsoletes() map[string]interface{} { + if o == nil || IsNil(o.Obsoletes) { + var ret map[string]interface{} return ret } return o.Obsoletes @@ -984,12 +979,11 @@ func (o *RpmPackageResponse) GetObsoletes() interface{} { // GetObsoletesOk returns a tuple with the Obsoletes 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 *RpmPackageResponse) GetObsoletesOk() (*interface{}, bool) { +func (o *RpmPackageResponse) GetObsoletesOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.Obsoletes) { - return nil, false + return map[string]interface{}{}, false } - return &o.Obsoletes, true + return o.Obsoletes, true } // HasObsoletes returns a boolean if a field has been set. @@ -1001,15 +995,15 @@ func (o *RpmPackageResponse) HasObsoletes() bool { return false } -// SetObsoletes gets a reference to the given interface{} and assigns it to the Obsoletes field. -func (o *RpmPackageResponse) SetObsoletes(v interface{}) { +// SetObsoletes gets a reference to the given map[string]interface{} and assigns it to the Obsoletes field. +func (o *RpmPackageResponse) SetObsoletes(v map[string]interface{}) { o.Obsoletes = v } -// GetSuggests returns the Suggests field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *RpmPackageResponse) GetSuggests() interface{} { - if o == nil { - var ret interface{} +// GetSuggests returns the Suggests field value if set, zero value otherwise. +func (o *RpmPackageResponse) GetSuggests() map[string]interface{} { + if o == nil || IsNil(o.Suggests) { + var ret map[string]interface{} return ret } return o.Suggests @@ -1017,12 +1011,11 @@ func (o *RpmPackageResponse) GetSuggests() interface{} { // GetSuggestsOk returns a tuple with the Suggests 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 *RpmPackageResponse) GetSuggestsOk() (*interface{}, bool) { +func (o *RpmPackageResponse) GetSuggestsOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.Suggests) { - return nil, false + return map[string]interface{}{}, false } - return &o.Suggests, true + return o.Suggests, true } // HasSuggests returns a boolean if a field has been set. @@ -1034,15 +1027,15 @@ func (o *RpmPackageResponse) HasSuggests() bool { return false } -// SetSuggests gets a reference to the given interface{} and assigns it to the Suggests field. -func (o *RpmPackageResponse) SetSuggests(v interface{}) { +// SetSuggests gets a reference to the given map[string]interface{} and assigns it to the Suggests field. +func (o *RpmPackageResponse) SetSuggests(v map[string]interface{}) { o.Suggests = v } -// GetEnhances returns the Enhances field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *RpmPackageResponse) GetEnhances() interface{} { - if o == nil { - var ret interface{} +// GetEnhances returns the Enhances field value if set, zero value otherwise. +func (o *RpmPackageResponse) GetEnhances() map[string]interface{} { + if o == nil || IsNil(o.Enhances) { + var ret map[string]interface{} return ret } return o.Enhances @@ -1050,12 +1043,11 @@ func (o *RpmPackageResponse) GetEnhances() interface{} { // GetEnhancesOk returns a tuple with the Enhances 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 *RpmPackageResponse) GetEnhancesOk() (*interface{}, bool) { +func (o *RpmPackageResponse) GetEnhancesOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.Enhances) { - return nil, false + return map[string]interface{}{}, false } - return &o.Enhances, true + return o.Enhances, true } // HasEnhances returns a boolean if a field has been set. @@ -1067,15 +1059,15 @@ func (o *RpmPackageResponse) HasEnhances() bool { return false } -// SetEnhances gets a reference to the given interface{} and assigns it to the Enhances field. -func (o *RpmPackageResponse) SetEnhances(v interface{}) { +// SetEnhances gets a reference to the given map[string]interface{} and assigns it to the Enhances field. +func (o *RpmPackageResponse) SetEnhances(v map[string]interface{}) { o.Enhances = v } -// GetRecommends returns the Recommends field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *RpmPackageResponse) GetRecommends() interface{} { - if o == nil { - var ret interface{} +// GetRecommends returns the Recommends field value if set, zero value otherwise. +func (o *RpmPackageResponse) GetRecommends() map[string]interface{} { + if o == nil || IsNil(o.Recommends) { + var ret map[string]interface{} return ret } return o.Recommends @@ -1083,12 +1075,11 @@ func (o *RpmPackageResponse) GetRecommends() interface{} { // GetRecommendsOk returns a tuple with the Recommends 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 *RpmPackageResponse) GetRecommendsOk() (*interface{}, bool) { +func (o *RpmPackageResponse) GetRecommendsOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.Recommends) { - return nil, false + return map[string]interface{}{}, false } - return &o.Recommends, true + return o.Recommends, true } // HasRecommends returns a boolean if a field has been set. @@ -1100,15 +1091,15 @@ func (o *RpmPackageResponse) HasRecommends() bool { return false } -// SetRecommends gets a reference to the given interface{} and assigns it to the Recommends field. -func (o *RpmPackageResponse) SetRecommends(v interface{}) { +// SetRecommends gets a reference to the given map[string]interface{} and assigns it to the Recommends field. +func (o *RpmPackageResponse) SetRecommends(v map[string]interface{}) { o.Recommends = v } -// GetSupplements returns the Supplements field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *RpmPackageResponse) GetSupplements() interface{} { - if o == nil { - var ret interface{} +// GetSupplements returns the Supplements field value if set, zero value otherwise. +func (o *RpmPackageResponse) GetSupplements() map[string]interface{} { + if o == nil || IsNil(o.Supplements) { + var ret map[string]interface{} return ret } return o.Supplements @@ -1116,12 +1107,11 @@ func (o *RpmPackageResponse) GetSupplements() interface{} { // GetSupplementsOk returns a tuple with the Supplements 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 *RpmPackageResponse) GetSupplementsOk() (*interface{}, bool) { +func (o *RpmPackageResponse) GetSupplementsOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.Supplements) { - return nil, false + return map[string]interface{}{}, false } - return &o.Supplements, true + return o.Supplements, true } // HasSupplements returns a boolean if a field has been set. @@ -1133,8 +1123,8 @@ func (o *RpmPackageResponse) HasSupplements() bool { return false } -// SetSupplements gets a reference to the given interface{} and assigns it to the Supplements field. -func (o *RpmPackageResponse) SetSupplements(v interface{}) { +// SetSupplements gets a reference to the given map[string]interface{} and assigns it to the Supplements field. +func (o *RpmPackageResponse) SetSupplements(v map[string]interface{}) { o.Supplements = v } @@ -1723,34 +1713,34 @@ func (o RpmPackageResponse) ToMap() (map[string]interface{}, error) { if !IsNil(o.Url) { toSerialize["url"] = o.Url } - if o.Changelogs != nil { + if !IsNil(o.Changelogs) { toSerialize["changelogs"] = o.Changelogs } - if o.Files != nil { + if !IsNil(o.Files) { toSerialize["files"] = o.Files } - if o.Requires != nil { + if !IsNil(o.Requires) { toSerialize["requires"] = o.Requires } - if o.Provides != nil { + if !IsNil(o.Provides) { toSerialize["provides"] = o.Provides } - if o.Conflicts != nil { + if !IsNil(o.Conflicts) { toSerialize["conflicts"] = o.Conflicts } - if o.Obsoletes != nil { + if !IsNil(o.Obsoletes) { toSerialize["obsoletes"] = o.Obsoletes } - if o.Suggests != nil { + if !IsNil(o.Suggests) { toSerialize["suggests"] = o.Suggests } - if o.Enhances != nil { + if !IsNil(o.Enhances) { toSerialize["enhances"] = o.Enhances } - if o.Recommends != nil { + if !IsNil(o.Recommends) { toSerialize["recommends"] = o.Recommends } - if o.Supplements != nil { + if !IsNil(o.Supplements) { toSerialize["supplements"] = o.Supplements } if !IsNil(o.LocationBase) { diff --git a/release/model_rpm_rpm_publication.go b/release/model_rpm_rpm_publication.go index 5b606bc..77bbe6d 100644 --- a/release/model_rpm_rpm_publication.go +++ b/release/model_rpm_rpm_publication.go @@ -34,7 +34,7 @@ type RpmRpmPublication struct { // DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. RepoGpgcheck NullableInt64 `json:"repo_gpgcheck,omitempty"` // A JSON document describing config.repo file - RepoConfig interface{} `json:"repo_config,omitempty"` + RepoConfig map[string]interface{} `json:"repo_config,omitempty"` // The compression type to use for metadata files.* `zstd` - zstd* `gz` - gz CompressionType *CompressionTypeEnum `json:"compression_type,omitempty"` AdditionalProperties map[string]interface{} @@ -303,10 +303,10 @@ func (o *RpmRpmPublication) UnsetRepoGpgcheck() { o.RepoGpgcheck.Unset() } -// GetRepoConfig returns the RepoConfig field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *RpmRpmPublication) GetRepoConfig() interface{} { - if o == nil { - var ret interface{} +// GetRepoConfig returns the RepoConfig field value if set, zero value otherwise. +func (o *RpmRpmPublication) GetRepoConfig() map[string]interface{} { + if o == nil || IsNil(o.RepoConfig) { + var ret map[string]interface{} return ret } return o.RepoConfig @@ -314,12 +314,11 @@ func (o *RpmRpmPublication) GetRepoConfig() interface{} { // GetRepoConfigOk returns a tuple with the RepoConfig 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 *RpmRpmPublication) GetRepoConfigOk() (*interface{}, bool) { +func (o *RpmRpmPublication) GetRepoConfigOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.RepoConfig) { - return nil, false + return map[string]interface{}{}, false } - return &o.RepoConfig, true + return o.RepoConfig, true } // HasRepoConfig returns a boolean if a field has been set. @@ -331,8 +330,8 @@ func (o *RpmRpmPublication) HasRepoConfig() bool { return false } -// SetRepoConfig gets a reference to the given interface{} and assigns it to the RepoConfig field. -func (o *RpmRpmPublication) SetRepoConfig(v interface{}) { +// SetRepoConfig gets a reference to the given map[string]interface{} and assigns it to the RepoConfig field. +func (o *RpmRpmPublication) SetRepoConfig(v map[string]interface{}) { o.RepoConfig = v } @@ -399,7 +398,7 @@ func (o RpmRpmPublication) ToMap() (map[string]interface{}, error) { if o.RepoGpgcheck.IsSet() { toSerialize["repo_gpgcheck"] = o.RepoGpgcheck.Get() } - if o.RepoConfig != nil { + if !IsNil(o.RepoConfig) { toSerialize["repo_config"] = o.RepoConfig } if !IsNil(o.CompressionType) { diff --git a/release/model_rpm_rpm_publication_response.go b/release/model_rpm_rpm_publication_response.go index e34a7e8..b382cbd 100644 --- a/release/model_rpm_rpm_publication_response.go +++ b/release/model_rpm_rpm_publication_response.go @@ -44,7 +44,7 @@ type RpmRpmPublicationResponse struct { // REMOVED: An option specifying whether Pulp should generate SQLite metadata. Not operation since pulp_rpm 3.25.0 release SqliteMetadata *bool `json:"sqlite_metadata,omitempty"` // A JSON document describing config.repo file - RepoConfig interface{} `json:"repo_config,omitempty"` + RepoConfig map[string]interface{} `json:"repo_config,omitempty"` // The compression type to use for metadata files.* `zstd` - zstd* `gz` - gz CompressionType *CompressionTypeEnum `json:"compression_type,omitempty"` AdditionalProperties map[string]interface{} @@ -473,10 +473,10 @@ func (o *RpmRpmPublicationResponse) SetSqliteMetadata(v bool) { o.SqliteMetadata = &v } -// GetRepoConfig returns the RepoConfig field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *RpmRpmPublicationResponse) GetRepoConfig() interface{} { - if o == nil { - var ret interface{} +// GetRepoConfig returns the RepoConfig field value if set, zero value otherwise. +func (o *RpmRpmPublicationResponse) GetRepoConfig() map[string]interface{} { + if o == nil || IsNil(o.RepoConfig) { + var ret map[string]interface{} return ret } return o.RepoConfig @@ -484,12 +484,11 @@ func (o *RpmRpmPublicationResponse) GetRepoConfig() interface{} { // GetRepoConfigOk returns a tuple with the RepoConfig 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 *RpmRpmPublicationResponse) GetRepoConfigOk() (*interface{}, bool) { +func (o *RpmRpmPublicationResponse) GetRepoConfigOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.RepoConfig) { - return nil, false + return map[string]interface{}{}, false } - return &o.RepoConfig, true + return o.RepoConfig, true } // HasRepoConfig returns a boolean if a field has been set. @@ -501,8 +500,8 @@ func (o *RpmRpmPublicationResponse) HasRepoConfig() bool { return false } -// SetRepoConfig gets a reference to the given interface{} and assigns it to the RepoConfig field. -func (o *RpmRpmPublicationResponse) SetRepoConfig(v interface{}) { +// SetRepoConfig gets a reference to the given map[string]interface{} and assigns it to the RepoConfig field. +func (o *RpmRpmPublicationResponse) SetRepoConfig(v map[string]interface{}) { o.RepoConfig = v } @@ -584,7 +583,7 @@ func (o RpmRpmPublicationResponse) ToMap() (map[string]interface{}, error) { if !IsNil(o.SqliteMetadata) { toSerialize["sqlite_metadata"] = o.SqliteMetadata } - if o.RepoConfig != nil { + if !IsNil(o.RepoConfig) { toSerialize["repo_config"] = o.RepoConfig } if !IsNil(o.CompressionType) { diff --git a/release/model_rpm_rpm_repository.go b/release/model_rpm_rpm_repository.go index 05f1eff..1d7eefe 100644 --- a/release/model_rpm_rpm_repository.go +++ b/release/model_rpm_rpm_repository.go @@ -51,7 +51,7 @@ type RpmRpmRepository struct { // DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. RepoGpgcheck NullableInt64 `json:"repo_gpgcheck,omitempty"` // A JSON document describing config.repo file - RepoConfig interface{} `json:"repo_config,omitempty"` + RepoConfig map[string]interface{} `json:"repo_config,omitempty"` // The compression type to use for metadata files.* `zstd` - zstd* `gz` - gz CompressionType NullableCompressionTypeEnum `json:"compression_type,omitempty"` AdditionalProperties map[string]interface{} @@ -657,10 +657,10 @@ func (o *RpmRpmRepository) UnsetRepoGpgcheck() { o.RepoGpgcheck.Unset() } -// GetRepoConfig returns the RepoConfig field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *RpmRpmRepository) GetRepoConfig() interface{} { - if o == nil { - var ret interface{} +// GetRepoConfig returns the RepoConfig field value if set, zero value otherwise. +func (o *RpmRpmRepository) GetRepoConfig() map[string]interface{} { + if o == nil || IsNil(o.RepoConfig) { + var ret map[string]interface{} return ret } return o.RepoConfig @@ -668,12 +668,11 @@ func (o *RpmRpmRepository) GetRepoConfig() interface{} { // GetRepoConfigOk returns a tuple with the RepoConfig 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 *RpmRpmRepository) GetRepoConfigOk() (*interface{}, bool) { +func (o *RpmRpmRepository) GetRepoConfigOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.RepoConfig) { - return nil, false + return map[string]interface{}{}, false } - return &o.RepoConfig, true + return o.RepoConfig, true } // HasRepoConfig returns a boolean if a field has been set. @@ -685,8 +684,8 @@ func (o *RpmRpmRepository) HasRepoConfig() bool { return false } -// SetRepoConfig gets a reference to the given interface{} and assigns it to the RepoConfig field. -func (o *RpmRpmRepository) SetRepoConfig(v interface{}) { +// SetRepoConfig gets a reference to the given map[string]interface{} and assigns it to the RepoConfig field. +func (o *RpmRpmRepository) SetRepoConfig(v map[string]interface{}) { o.RepoConfig = v } @@ -785,7 +784,7 @@ func (o RpmRpmRepository) ToMap() (map[string]interface{}, error) { if o.RepoGpgcheck.IsSet() { toSerialize["repo_gpgcheck"] = o.RepoGpgcheck.Get() } - if o.RepoConfig != nil { + if !IsNil(o.RepoConfig) { toSerialize["repo_config"] = o.RepoConfig } if o.CompressionType.IsSet() { diff --git a/release/model_rpm_rpm_repository_response.go b/release/model_rpm_rpm_repository_response.go index 84b6cc0..488c2e6 100644 --- a/release/model_rpm_rpm_repository_response.go +++ b/release/model_rpm_rpm_repository_response.go @@ -63,7 +63,7 @@ type RpmRpmRepositoryResponse struct { // REMOVED: An option specifying whether Pulp should generate SQLite metadata. Not operation since pulp_rpm 3.25.0 release SqliteMetadata *bool `json:"sqlite_metadata,omitempty"` // A JSON document describing config.repo file - RepoConfig interface{} `json:"repo_config,omitempty"` + RepoConfig map[string]interface{} `json:"repo_config,omitempty"` // The compression type to use for metadata files.* `zstd` - zstd* `gz` - gz CompressionType NullableCompressionTypeEnum `json:"compression_type,omitempty"` AdditionalProperties map[string]interface{} @@ -893,10 +893,10 @@ func (o *RpmRpmRepositoryResponse) SetSqliteMetadata(v bool) { o.SqliteMetadata = &v } -// GetRepoConfig returns the RepoConfig field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *RpmRpmRepositoryResponse) GetRepoConfig() interface{} { - if o == nil { - var ret interface{} +// GetRepoConfig returns the RepoConfig field value if set, zero value otherwise. +func (o *RpmRpmRepositoryResponse) GetRepoConfig() map[string]interface{} { + if o == nil || IsNil(o.RepoConfig) { + var ret map[string]interface{} return ret } return o.RepoConfig @@ -904,12 +904,11 @@ func (o *RpmRpmRepositoryResponse) GetRepoConfig() interface{} { // GetRepoConfigOk returns a tuple with the RepoConfig 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 *RpmRpmRepositoryResponse) GetRepoConfigOk() (*interface{}, bool) { +func (o *RpmRpmRepositoryResponse) GetRepoConfigOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.RepoConfig) { - return nil, false + return map[string]interface{}{}, false } - return &o.RepoConfig, true + return o.RepoConfig, true } // HasRepoConfig returns a boolean if a field has been set. @@ -921,8 +920,8 @@ func (o *RpmRpmRepositoryResponse) HasRepoConfig() bool { return false } -// SetRepoConfig gets a reference to the given interface{} and assigns it to the RepoConfig field. -func (o *RpmRpmRepositoryResponse) SetRepoConfig(v interface{}) { +// SetRepoConfig gets a reference to the given map[string]interface{} and assigns it to the RepoConfig field. +func (o *RpmRpmRepositoryResponse) SetRepoConfig(v map[string]interface{}) { o.RepoConfig = v } @@ -1042,7 +1041,7 @@ func (o RpmRpmRepositoryResponse) ToMap() (map[string]interface{}, error) { if !IsNil(o.SqliteMetadata) { toSerialize["sqlite_metadata"] = o.SqliteMetadata } - if o.RepoConfig != nil { + if !IsNil(o.RepoConfig) { toSerialize["repo_config"] = o.RepoConfig } if o.CompressionType.IsSet() { diff --git a/release/model_rpm_update_collection.go b/release/model_rpm_update_collection.go index 5a044af..d971a08 100644 --- a/release/model_rpm_update_collection.go +++ b/release/model_rpm_update_collection.go @@ -26,7 +26,7 @@ type RpmUpdateCollection struct { // Collection short name. Shortname NullableString `json:"shortname"` // Collection modular NSVCA. - Module interface{} `json:"module"` + Module map[string]interface{} `json:"module"` AdditionalProperties map[string]interface{} } @@ -36,7 +36,7 @@ type _RpmUpdateCollection RpmUpdateCollection // 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 NewRpmUpdateCollection(name NullableString, shortname NullableString, module interface{}) *RpmUpdateCollection { +func NewRpmUpdateCollection(name NullableString, shortname NullableString, module map[string]interface{}) *RpmUpdateCollection { this := RpmUpdateCollection{} this.Name = name this.Shortname = shortname @@ -105,10 +105,10 @@ func (o *RpmUpdateCollection) SetShortname(v string) { } // GetModule returns the Module field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *RpmUpdateCollection) GetModule() interface{} { +// If the value is explicit nil, the zero value for map[string]interface{} will be returned +func (o *RpmUpdateCollection) GetModule() map[string]interface{} { if o == nil { - var ret interface{} + var ret map[string]interface{} return ret } @@ -118,15 +118,15 @@ func (o *RpmUpdateCollection) GetModule() interface{} { // GetModuleOk returns a tuple with the Module 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 *RpmUpdateCollection) GetModuleOk() (*interface{}, bool) { +func (o *RpmUpdateCollection) GetModuleOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.Module) { - return nil, false + return map[string]interface{}{}, false } - return &o.Module, true + return o.Module, true } // SetModule sets field value -func (o *RpmUpdateCollection) SetModule(v interface{}) { +func (o *RpmUpdateCollection) SetModule(v map[string]interface{}) { o.Module = v } diff --git a/release/model_rpm_update_collection_response.go b/release/model_rpm_update_collection_response.go index bd7f438..48807e9 100644 --- a/release/model_rpm_update_collection_response.go +++ b/release/model_rpm_update_collection_response.go @@ -26,7 +26,7 @@ type RpmUpdateCollectionResponse struct { // Collection short name. Shortname NullableString `json:"shortname"` // Collection modular NSVCA. - Module interface{} `json:"module"` + Module map[string]interface{} `json:"module"` // List of packages Packages []map[string]interface{} `json:"packages,omitempty"` AdditionalProperties map[string]interface{} @@ -38,7 +38,7 @@ type _RpmUpdateCollectionResponse RpmUpdateCollectionResponse // 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 NewRpmUpdateCollectionResponse(name NullableString, shortname NullableString, module interface{}) *RpmUpdateCollectionResponse { +func NewRpmUpdateCollectionResponse(name NullableString, shortname NullableString, module map[string]interface{}) *RpmUpdateCollectionResponse { this := RpmUpdateCollectionResponse{} this.Name = name this.Shortname = shortname @@ -107,10 +107,10 @@ func (o *RpmUpdateCollectionResponse) SetShortname(v string) { } // GetModule returns the Module field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *RpmUpdateCollectionResponse) GetModule() interface{} { +// If the value is explicit nil, the zero value for map[string]interface{} will be returned +func (o *RpmUpdateCollectionResponse) GetModule() map[string]interface{} { if o == nil { - var ret interface{} + var ret map[string]interface{} return ret } @@ -120,15 +120,15 @@ func (o *RpmUpdateCollectionResponse) GetModule() interface{} { // GetModuleOk returns a tuple with the Module 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 *RpmUpdateCollectionResponse) GetModuleOk() (*interface{}, bool) { +func (o *RpmUpdateCollectionResponse) GetModuleOk() (map[string]interface{}, bool) { if o == nil || IsNil(o.Module) { - return nil, false + return map[string]interface{}{}, false } - return &o.Module, true + return o.Module, true } // SetModule sets field value -func (o *RpmUpdateCollectionResponse) SetModule(v interface{}) { +func (o *RpmUpdateCollectionResponse) SetModule(v map[string]interface{}) { o.Module = v }